Reuse datalist with multiple datasources? 
Author Message
 Reuse datalist with multiple datasources?


I've got a problem that I had a handy solution to in pre-.NET days.
Before, I would print out a table header and then I would have a sub
that accepted a recordset containing predetermined named columns.  The
sub would print out all rows in the recordset using the html template
defined in the sub.

Now, in .NET we have this nifty datalist control that basically mimics
that functionality. The problem is that I cannot use multiple datasets
to print out the same itemtemplate w/in the header/footer.  The
datasets are coming from distinct databases on the server but return a
set of same-named fields to be used for printing in the itemtemplate.

The datalist control apparently only actually prints out the last
datasource bound to it.

So, do you have any suggestions on how I can achieve this result using
the datalist control?



Fri, 07 May 2004 23:36:26 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Multiple datasources - how?

2. ADO Recordset with multiple datasources

3. Filling multiple datalist boxes - Newbie

4. Multiple Columns in DataList

5. Help with multiple columns using DataCombo and DataList

6. Help moving items in a DataList to Another DataList

7. Datasources...

8. ODBC Datasources

9. ODBC DataSources

10. Datasources in controls

11. Selecting ODBC Datasources

12. Non relational datasources and ADO 2.5


Powered by phpBB® Forum Software