How to bind multiple datasources to one grid?

P

Paul

How can I bind my grid to more than one datasource - that is the
question. Right now I bind to a DataView table that has a single
DataTable as its source. Fine. Then I add a DropDownList to one of the
template columns EditMode that is populated from a separate table. This
is where the problem begins. I have two tables in the DataSet now, and
in the _EditCommand event handler I can't figure out how to change the
binding from a single table datasource to multi-table source.

I don't think this is a case for a DataRelations, right? I also want to
bind a column with a DateBox, for instance, and it seems like this has
nothing to do with relations and joins.

Thanks for your advice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top