Usually what happens is that you build a DataSet and fill it with multiple tables. The source of the table data can be anything that ADO.net supports (SqlClient, OleDb, Odbc, XML,...). The point is that in the end you have a DataSet with tables. Once you have your tables of data, you can build the relationship(s) between the tables (like I described earlier).
When you use this dataset data in a "multi-level" bind, you have to databind the top most control programmatically, but each sub control is bound to a result set driven by its container based on a relationship.
I hope that makes a little sense.
Peter
------------------------------------------------------
Work smarter, not harder.
|