DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 02 Aug 2007 21:46:53 -0000,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    edwardo2005
          2    Terry Olsen
          3    Earl am


DataGrids with Multiple tables   
Hi, I want to have a DataGrid with two columns - 1 from one table and
one from another. The tables are linked by a key from the 2nd to the
first. I am using a DataSet in .Net and the tables are in the DataSet
and there is a relationship between that tables in the DataSet. I have
been able to get a column populated with data from one table, but I
don't see how to reference the 2nd table. Is this possible?
Date:Thu, 02 Aug 2007 21:46:53 -0000   Author:  

Re: DataGrids with Multiple tables   
Look at the JOIN statement. That should help you do what you need.

"edwardo2005"  wrote in message 
news:1186091213.842786.229990@q3g2000prf.googlegroups.com...

> Hi, I want to have a DataGrid with two columns - 1 from one table and
> one from another. The tables are linked by a key from the 2nd to the
> first. I am using a DataSet in .Net and the tables are in the DataSet
> and there is a relationship between that tables in the DataSet. I have
> been able to get a column populated with data from one table, but I
> don't see how to reference the 2nd table. Is this possible?
> 
Date:Thu, 2 Aug 2007 16:02:44 -0600   Author:  

Re: DataGrids with Multiple tables   
With the dataset and the related tables, you already have most of the 
ingredients to do it properly. Use an expression column from the related 
table. A join would just screw up your update/insert command objects.

"edwardo2005"  wrote in message 
news:1186091213.842786.229990@q3g2000prf.googlegroups.com...

> Hi, I want to have a DataGrid with two columns - 1 from one table and
> one from another. The tables are linked by a key from the 2nd to the
> first. I am using a DataSet in .Net and the tables are in the DataSet
> and there is a relationship between that tables in the DataSet. I have
> been able to get a column populated with data from one table, but I
> don't see how to reference the 2nd table. Is this possible?
> 
Date:Sat, 4 Aug 2007 00:32:34 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us