| |||||||||||||
BaseDataBoundControl.DataSource PropertySystem.Web.UI.WebControls Namespace BaseDataBoundControl Class Sets or retrieves the source from which a data-bound control retrieves its list of data items. Syntax
Property Value
The property is read/write with no default value. RemarksUse the DataSource property to specify a source of data to populate a data control.
When the DataSource property is set, the ValidateDataSource method is called. In addition, if the data-bound control has already been initialized, the OnDataPropertyChanged method is called to set the RequiresDataBinding property to true. ExampleThe following examples demonstrate using the DataSource property in different scenarios, to specify the source from which a data-bound control retrieves its list of data items.
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