DataControlReference Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables the DynamicDataManager to declaratively define data controls that it manages.
public ref class DataControlReference
public class DataControlReference
type DataControlReference = class
Public Class DataControlReference
- Inheritance
-
DataControlReference
The following example shows the markup from a Dynamic Data page template that connects the DynamicDataManager to a FormView control.
Observação
Some markup is removed for clarity.
<asp:DynamicDataManager ID="DynamicDataManager1" runat="server"
AutoLoadForeignKeys="true">
<DataControls>
<asp:DataControlReference ControlID="FormView1" />
</DataControls>
</asp:DynamicDataManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<!-- Items omitted for clarity. -->
<asp:FormView runat="server" ID="FormView1"
DataSourceID="DetailsDataSource" DefaultMode="Edit"
OnDataBound="FormView1_DataBound">
<!-- Items omitted for clarity. -->
</asp:FormView>
</ContentTemplate>
</asp:UpdatePanel>
Data |
Initializes a new instance of the DataControlReference class. |
ControlID |
Gets the ID of the data-bound control that is managed by the DynamicDataManager control. |
Owner |
Gets the DynamicDataManager control that contains the data control. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Gets the literal string |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: