Groups | Blog | Home
all groups > dotnet windows forms databinding > march 2005 >

dotnet windows forms databinding : Displaying fields from 2 tables in one DataGrid


David K.
3/18/2005 2:46:36 AM
Hi,
I am using C# with VS Studio 2003.
I would like to display in one DataGrid control (Windows Forms) a
combination of fields that are selected from 2 tables.
My questions are:
1. How can it be performed, using DataAdapter and DataSet?
2. How can it be performed, using Typed DataSet?

A detailed help wil be very much appreciated.

Thanks,
David
Manohar Kamath
3/18/2005 7:43:43 AM
Are these two fields related somehow? If so, use an appropriate query and
store the results in a datatable, and bind this to the grid.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com


[quoted text, click to view]

AddThis Social Bookmark Button