ModelDataSource Class
.NET Framework 4.5
The data source control used by data-bound controls to perform CRUD (create, read, update, delete) operations when model binding is in use.
Namespace:
System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
The ModelDataSource type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DataControl | Gets the data-bound control that is using this control as a data source when model binding is in use. |
![]() | View | Gets the default (and only) view object for this data source control. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsTrackingViewState | Infrastructure. Returns a value that indicates whether the control is tracking view state. |
![]() | LoadViewState | Infrastructure. Loads the previously saved view state. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SaveViewState | Infrastructure. Saves the state of the control. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TrackViewState | Infrastructure. Tracks view-state changes to the control so that they can be stored in the System.Web.UI.StateBag object. |
![]() | UpdateProperties(String, String) | Updates the required properties for one-way data binding. |
![]() | UpdateProperties(String, String, String, String, String, String) | Updates the required properties for two-way data binding. |
| Name | Description | |
|---|---|---|
![]() | CallingDataMethods | Occurs when model binding is in use and data methods are being called. |
| Name | Description | |
|---|---|---|
![]() | GetDefaultValues | Gets the collection of the default values for the specified data source. (Defined by DynamicDataExtensions.) |
![]() | GetMetaTable | Gets the metadata for a table in the specified data source object. (Defined by DynamicDataExtensions.) |
![]() | TryGetMetaTable | Determines whether table metadata is available. (Defined by DynamicDataExtensions.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IDataSource.DataSourceChanged | Occurs when the underlying data source has changed. The change may be due to a change in the control's properties, or a change in the data due to an edit action performed by the data source control. |
![]() ![]() | IDataSource.GetView | Infrastructure. Returns the view. |
![]() ![]() | IDataSource.GetViewNames | Infrastructure. Gets the view names. |
![]() ![]() | IStateManager.IsTrackingViewState | Infrastructure. Returns a value that indicates whether the control is tracking view state. |
![]() ![]() | IStateManager.LoadViewState | Infrastructure. Loads the previously saved view state. |
![]() ![]() | IStateManager.SaveViewState | Infrastructure. Saves the state of the control. |
![]() ![]() | IStateManager.TrackViewState | Infrastructure. Tracks view-state changes to the control so that they can be stored in the System.Web.UI.StateBag object. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)