DynamicDataExtensions::GetTable Method (IDynamicDataSource^)
.NET Framework (current version)
Returns the MetaTable object that is associated with the specified data source control.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Parameters
- dataSource
-
Type:
System.Web.DynamicData::IDynamicDataSource^
The data source control.
Return Value
Type: System.Web.DynamicData::MetaTable^The table that is associated with the specified data source control.
| Exception | Condition |
|---|---|
| InvalidOperationException | The EntitySetName property of dataSource is null. -or- The ContextType property of dataSource is null. |
.NET Framework
Available since 3.5
Available since 3.5
Show: