Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > How to bind multiple datasources to one grid?

Thread Tools

How to bind multiple datasources to one grid?

Posts: n/a
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.

*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
multiple asp:content's requires multiple datasources? =?Utf-8?B?bXVzb3NkZXY=?= ASP .Net 4 02-21-2007 02:54 AM
hibernate: multiple datasources, one transaction pete leg Java 2 09-21-2006 12:31 PM
Multiple Datasources - DataGrid Jim Heavey ASP .Net 3 05-13-2006 09:38 AM
how to bind repeater to 2 datasources Fred ASP .Net 1 09-13-2005 05:42 PM