datagrid columns bound to columns from different tables

Hi,

I have a dataset with multiple tables. Is there a way to bind each of the datagrid's columns to a column from a different tables?
Thanks in advance!
BR
0
Ehden
1/24/2005 6:03:31 PM
asp.net.presentation-controls 72751 articles. 3 followers. Follow

1 Replies
610 Views

Similar Articles

[PageSpeed] 10

The bottom line, yes you can, but it would take some custom methods getting called from a template column and some other fancy tricks.  

But, the datagrid is designed and works best when it's given it's one datasource. If you need data from different columns in different tables, I would make a custom datatable that reflects the columns you need and use that custom datatable has the datagrid's datasource.
Don't think of the datagrid in this senario, think of the datasource.
0
zavaleta
1/24/2005 6:54:18 PM
Reply: