473,498 Members | 1,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

set up a datagrid of multiples datatables in 1 dataset

I have a few tables consisting two columns each.
They all have the same first column (unique key)

What I want to do is show a datagrid, starting with the first column
followed
by the rest. Actually put the tables behind each other.

Is there anyone who could show me the way how to do this

I did manage but it has a bad performance.
What I did was filling up row by row

Richard Loupatty


Nov 17 '05 #1
2 1452
This sounds like it can be done with a Join in your select statement, to
build a result set according to what you want and putting it into a DataSet.

"Richard Loupatty" <ri***@trashnet.nl> wrote in message
news:3f*********************@news.versatel.net...
I have a few tables consisting two columns each.
They all have the same first column (unique key)

What I want to do is show a datagrid, starting with the first column
followed
by the rest. Actually put the tables behind each other.

Is there anyone who could show me the way how to do this

I did manage but it has a bad performance.
What I did was filling up row by row

Richard Loupatty

Nov 17 '05 #2
This project works with DBF so I didn't know if the join works for this.
I solved it now with the joinview sample from Microsoft knowledge base.

"Rick Spiewak" <ri*********@mindspring.com> schreef in bericht
news:OZ**************@tk2msftngp13.phx.gbl...
This sounds like it can be done with a Join in your select statement, to
build a result set according to what you want and putting it into a DataSet.
"Richard Loupatty" <ri***@trashnet.nl> wrote in message
news:3f*********************@news.versatel.net...
I have a few tables consisting two columns each.
They all have the same first column (unique key)

What I want to do is show a datagrid, starting with the first column
followed
by the rest. Actually put the tables behind each other.

Is there anyone who could show me the way how to do this

I did manage but it has a bad performance.
What I did was filling up row by row

Richard Loupatty


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7796
by: Stephan Steiner | last post by:
Hi I'm using several DataTables in my program which are updated periodically. At the same I have those tables bound to DataGrids in my GUI. So far I've been doing all the processing in the same...
1
4151
by: Junkguy | last post by:
I'm having difficulty deleting rows from a datagrid. I want to put a "delete" button on a form and achieve the same functionality as hitting the "delete" key on the keyboard for the selected row of...
7
1600
by: Luis Esteban Valencia | last post by:
I have this i need to show the datagrid with columns of 2 datatables Dim myadap As New SqlDataAdapter myconn.Open() myadap.TableMappings().Add("Table", "vistaUsuarios")
4
2245
by: steroche | last post by:
I would REALLY appreciate help please please please! Im sure it is probably blindingly obvious to most of you but I am totally in the dark here!I am lost - i thought i had finally figured out this...
5
5884
by: Genojoe | last post by:
I am using code from Help with two exceptions. (1) I increased the number of sample rows from 3 to 20, and (2) I anchored the datagrid to bottom of form so that I can change the size of the grid by...
11
2112
by: Thomas A | last post by:
Hi, I fill a datgrid with data from a xml document, it works fine But.... Now I will to filter the data to the grid so only the data shows from the criteria that I set. My code now is very...
2
3941
by: fabian | last post by:
I Apoligize for my writing but I speak spanish. I'm starting with the datagrid and I want to know how I can to update a datagrid after update a database. I want to do this without leave the...
2
1334
by: Thomas Beyerlein | last post by:
Is it possible to have different columns of a datagrid bound to different datatables? I am working on a project and the specks have suddenly changed. Now a item can have multiple reports/...
1
1192
by: =?ISO-8859-1?Q?Mika=EBl_PLOUHINEC?= | last post by:
Hello, I have a dataset with 2 DataTables : Groups and Persons. I make a relation between this 2 DataTables using one DataColumn in each datatable. Finally I use this dataset in a dataGrid. So I...
0
7124
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.