| |||||||||||||
DataBoundControl.DataSourceID PropertySystem.Web.UI.WebControls Namespace DataBoundControl Class .NET Framework version 2.0 Sets or retrieves the ID of the control from which a data-bound control gets its data. Syntax
Property Value
The property is read/write with no default value. RemarksUse the DataSourceID to specify or determine the ID of a control that represents the data source from which a data-bound control gets its list of data items. A data-bound control is associated to its data source by setting its DataSourceID property to the ID of the data source control. When the DataSourceID property is set, the data-bound control automatically binds to the data source control at run time.
ExampleThe following examples demonstrate how the DataSourceID property is used to associate different data-bound controls to a data source control in different scenarios.
See Also |
| ||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme