Sintassi dichiarativa per il controllo server Web LinqDataSource
Aggiornamento: novembre 2007
Consente di utilizzare LINQ (Language-Integrated Query) in una pagina Web ASP.NET tramite markup al fine di recuperare e modificare dati da un oggetto dati.
<asp:LinqDataSource
AutoGenerateOrderByClause="True|False"
AutoGenerateWhereClause="True|False"
AutoPage="True|False"
AutoSort="True|False"
ContextTypeName="string"
EnableDelete="True|False"
EnableInsert="True|False"
EnableTheming="True|False"
EnableUpdate="True|False"
EnableViewState="True|False"
GroupBy="string"
ID="string"
OnContextCreated="ContextCreated event handler"
OnContextCreating="ContextCreating event handler"
OnContextDisposing="ContextDisposing event handler"
OnDataBinding="DataBinding event handler"
OnDeleted="Deleted event handler"
OnDeleting="Deleting event handler"
OnDisposed="Disposed event handler"
OnInit="Init event handler"
OnInserted="Inserted event handler"
OnInserting="Inserting event handler"
OnLoad="Load event handler"
OnPreRender="PreRender event handler"
OnSelected="Selected event handler"
OnSelecting="Selecting event handler"
OnUnload="Unload event handler"
OnUpdated="Updated event handler"
OnUpdating="Updating event handler"
OrderBy="string"
runat="server"
Select="string"
SkinID="string"
StoreOriginalValuesInViewState="True|False"
TableName="string"
Visible="True|False"
Where="string"
>
<DeleteParameters />
<GroupByParameters />
<InsertParameters />
<OrderByParameters />
<SelectParameters />
<UpdateParameters />
<WhereParameters />
</asp:LinqDataSource>
Note
Per ulteriori informazioni, vedere i cenni preliminari sulla classe LinqDataSource.