What is the difference of DataSourceID and DataSource from the controls\' attribute? Can I use them interchangeably?
When I try to set DataSource prope
DataSourceID can be assigned an ID of other data source control of type such as ObjectDataSource XmlDataSource .
Data Source Controls overview:
http://msdn.microsoft.com/en-us/library/ms227679.aspx
There are various other types of data source controls as well or you can develop your own as well.
Datasource is used when you want to directly give the source to control such as DataSet or a DataTable