ModelDataSource Class
The data source control used by data-bound controls to perform CRUD (create, read, update, delete) operations when model binding is in use.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | ModelDataSource(Control) | Initializes a new instance of the ModelDataSource class. |
| 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IsTrackingViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns a value that indicates whether the control is tracking view state. |
![]() | LoadViewState(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Loads the previously saved view state. |
![]() | MemberwiseClone() | |
![]() | SaveViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. Saves the state of the control. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | TrackViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. 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 | |
|---|---|---|
![]() ![]() | 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(String) | This API supports the product infrastructure and is not intended to be used directly from your code. Returns the view. |
![]() ![]() | IDataSource.GetViewNames() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the view names. |
![]() ![]() | IStateManager.LoadViewState(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Loads the previously saved view state. |
![]() ![]() | IStateManager.SaveViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. Saves the state of the control. |
![]() ![]() | IStateManager.TrackViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. Tracks view-state changes to the control so that they can be stored in the System.Web.UI.StateBag object. |
![]() ![]() | IStateManager.IsTrackingViewState | This API supports the product infrastructure and is not intended to be used directly from your code. Returns a value that indicates whether the control is tracking view state. |
| Name | Description | |
|---|---|---|
![]() | GetDefaultValues() | Overloaded. Gets the collection of the default values for the specified data source.(Defined by DynamicDataExtensions.) |
![]() | GetMetaTable() | Overloaded. Gets the metadata for a table in the specified data source object.(Defined by DynamicDataExtensions.) |
![]() | TryGetMetaTable(MetaTable) | Overloaded. Determines whether table metadata is available.(Defined by DynamicDataExtensions.) |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







