HtmlSelect.GetData Method
.NET Framework 3.0
Gets an IEnumerable object that represents the data source that is bound to the HtmlSelect control.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
| Exception type | Condition |
|---|---|
| The DataSourceID property is not of type IDataSource. - or - The DataSourceID property is not of type IHierarchicalDataSource. | |
| Both a DataSource and a DataSourceID property are defined for the HtmlSelect control. - or - The requested data view cannot be found. |
Community Additions
ADD
Show: