Re: disconnected typed dataset
- From: TLWood <volvo340@xxxxxxxxxxxxxxxx>
- Date: Wed, 13 Apr 2005 10:16:06 -0700
Thanks Alex
I have had a look into the datagrid, but it only seems to display one table
at a time. In order to display fields from multiple tables on the same row a
new query needs to be performed which combines the tables. This would be OK
for a connected recordset, but for a disconnected dataset this cannot be
achieved since another trip to the database is not possible. I therefore need
some way to get the data out of 2 tables in the dataset into the same row in
the datagrid. Any ideas?
"Alex Passos" wrote:
> Hi Terry, look into using a DataGrid, it has exactly everything you need.
> Just attach the data set to the DataGrid.DataSource member and go from
> there.
>
> Alex
>
> "TLWood" <volvo340@xxxxxxxxxxxxxxxx> wrote in message
> news:3643D60B-9D07-4068-ACA1-D8965BD5E464@xxxxxxxxxxxxxxxx
> > Hi
> >
> > I am creating a multi-user db app in VB.NET 2003 which accesses a remote
> > SQL
> > Server. The db has many tables related hierarchically. At the start of a
> > session I want to get a selected set of data into a dataset, work with it
> > extensively and put it back dealing with any conflicts at this time.
> >
> > My question is, how do I manupulate the data from the dataset to display
> > it?
> > What I really want to do is create a multi-table view of some of the data
> > in
> > the dataset and display it in a datagrid or similar. The normal
> > hierarchical
> > view of data in the datagrid is not user friendly enough - I need to
> > display
> > read-only rows of Customers each having several Addresses (related via IDs
> > from a different table) each in a separate row allowing the user to select
> > a
> > row (Customer/Address pair) and edit it elsewhere.
> >
> > Any help or pointers would be much appreciated.
> >
> > --
> > Many Thanks
> > Terry
>
>
>
.
- Follow-Ups:
- Re: disconnected typed dataset
- From: Alex Passos
- Re: disconnected typed dataset
- References:
- disconnected typed dataset
- From: TLWood
- Re: disconnected typed dataset
- From: Alex Passos
- disconnected typed dataset
- Prev by Date: Re: DataAdapter Update Does Nothing
- Next by Date: Re: disconnected typed dataset
- Previous by thread: Re: disconnected typed dataset
- Next by thread: Re: disconnected typed dataset
- Index(es):
Relevant Pages
|