Each DataTable is an IListSource which provides an IList<BR><BR>The datalist binds to a single IList, by default, this is the DataTable's defaultView.<BR><BR>Have you bee through the extensive examination of the datagrid on the main site?
thanks for the reply. Actually i would like to pass on several different sql statements to generate different recordsets. Then i would like to bind them altogether into a datalist. The problem that i am facing now is that i have no knowledge on how to call the different recordset that is stored in the datalist?
You can get multimple datatables into a dataset by executing multiple selects in your query. Select f from t;Select f2 from t2<BR><BR>Your datalist can be bound to one datatable, and defaults to the first one in the dataset. (to the default view of the first table).<BR><BR>