Click here to Skip to main content
15,921,841 members
Home / Discussions / C#
   

C#

 
GeneralRe: Clicknsee Pin
Pete O'Hanlon28-Feb-08 22:37
mvePete O'Hanlon28-Feb-08 22:37 
GeneralRe: Clicknsee Pin
QTrung12321-Apr-08 22:32
QTrung12321-Apr-08 22:32 
QuestionHandling MouseWheel event? Pin
kumar.bs28-Feb-08 14:16
kumar.bs28-Feb-08 14:16 
AnswerRe: Handling MouseWheel event? Pin
J a a n s28-Feb-08 17:52
professionalJ a a n s28-Feb-08 17:52 
GeneralPInvoke guide Pin
Paul Selormey28-Feb-08 13:49
Paul Selormey28-Feb-08 13:49 
GeneralMerge two tables Pin
xoxoxoxoxoxox28-Feb-08 13:37
xoxoxoxoxoxox28-Feb-08 13:37 
GeneralRe: Merge two tables Pin
Christian Graus28-Feb-08 14:03
protectorChristian Graus28-Feb-08 14:03 
GeneralRe: Merge two tables Pin
J$28-Feb-08 14:20
J$28-Feb-08 14:20 
I assume that you're saying you want to merge 2 System.Data.DataTable objects into one. If thats not the case forgive me...

If this data is coming from 2 separate, but related tables in your database, you can add them to a DataSet, and set up a DataRelation between the 2 tables.

This doesn't merge the 2 tables into 1, but it will allow you to retrieve the data for a particular DataRow in DataTable1, as well as the DataRows from DataTable2 that are related to it.

You can get the related row information by calling dataRow.GetChildRows(), dataRow.GetParentRow(), or dataRow.GetParentRows()

Hope that helps...
GeneralRe: Merge two tables Pin
xoxoxoxoxoxox29-Feb-08 6:13
xoxoxoxoxoxox29-Feb-08 6:13 
GeneralPlease help with these questions Pin
A.Asif28-Feb-08 12:15
A.Asif28-Feb-08 12:15 
GeneralCross post warning Pin
Not Active28-Feb-08 12:28
mentorNot Active28-Feb-08 12:28 
GeneralRe: Cross post warning Pin
Christian Graus28-Feb-08 12:52
protectorChristian Graus28-Feb-08 12:52 
GeneralRe: Please help with these questions Pin
Guffa28-Feb-08 13:30
Guffa28-Feb-08 13:30 
GeneralRe: Please help with these questions Pin
Paul Conrad28-Feb-08 18:23
professionalPaul Conrad28-Feb-08 18:23 
GeneralCreating a service Pin
ffowler28-Feb-08 11:21
ffowler28-Feb-08 11:21 
GeneralRe: Creating a service Pin
Expert Coming28-Feb-08 11:29
Expert Coming28-Feb-08 11:29 
GeneralRe: Creating a service Pin
Ravi Bhavnani28-Feb-08 19:07
professionalRavi Bhavnani28-Feb-08 19:07 
GeneralRe: Creating a service Pin
Nouman Bhatti28-Feb-08 21:10
Nouman Bhatti28-Feb-08 21:10 
QuestionOLE file access C# Pin
davejsmith28-Feb-08 11:04
davejsmith28-Feb-08 11:04 
Generalthis.show() doesn't display controls. Pin
tingu28-Feb-08 7:49
tingu28-Feb-08 7:49 
GeneralRe: this.show() doesn't display controls. Pin
Gareth H28-Feb-08 8:06
Gareth H28-Feb-08 8:06 
GeneralRe: this.show() doesn't display controls. Pin
tingu28-Feb-08 8:22
tingu28-Feb-08 8:22 
GeneralRe: this.show() doesn't display controls. Pin
buchstaben28-Feb-08 8:24
buchstaben28-Feb-08 8:24 
GeneralRe: this.show() doesn't display controls. Pin
led mike28-Feb-08 9:07
led mike28-Feb-08 9:07 
GeneralRe: this.show() doesn't display controls. Pin
tingu29-Feb-08 5:23
tingu29-Feb-08 5:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.