Click here to Skip to main content
16,011,849 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Postponing Close until all application windows are closed Pin
jzonthemtn2-Oct-08 5:58
jzonthemtn2-Oct-08 5:58 
GeneralRe: Postponing Close until all application windows are closed Pin
JudyV2-Oct-08 6:08
JudyV2-Oct-08 6:08 
QuestionHow Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
RaltonLewis2-Oct-08 3:04
RaltonLewis2-Oct-08 3:04 
QuestionRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
richardw482-Oct-08 3:42
richardw482-Oct-08 3:42 
AnswerRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
RaltonLewis2-Oct-08 3:55
RaltonLewis2-Oct-08 3:55 
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
richardw482-Oct-08 4:12
richardw482-Oct-08 4:12 
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
RaltonLewis2-Oct-08 4:26
RaltonLewis2-Oct-08 4:26 
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
richardw482-Oct-08 4:44
richardw482-Oct-08 4:44 
OK.
6 In the dataset designer click and select the main table (the one you've already used to fill the datagrid.
7 right-click on the TableAdapter row where it says Fill, GetData and choose 'Configure'
8 When a window appears you'll see the 'SELECT' statement for the query that VS uses to fill the table.
9 Click 'Query Builder' You'll now see a representation of your table showing all the fields in the top pane
10 Right click the top pane and choose 'Add table'. Do this for all the other tables you want to get data from
11 Now you need to link the 'Common ID fields' of all the tables. If you've set the primary keys correctly then these fields will be in bold type. To link the fields, click the key field in the main table and drag and drop it on to the corresponding field in one of the other tables. Repeat the process for the other tables.
12 Now click the check boxes next to the fields that contain the additional data you want to see in the data grid. When you do this you'll see the sql statement change. When you're done, click the OK button to close the Query Designer, then click Finish to close the TableAdapter Configuration window.
13 In the dataset designer, your main table should now contain the additional fields
14 Save the changes and close the dataset designer.

Let me know when you've done the above.
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
richardw482-Oct-08 4:59
richardw482-Oct-08 4:59 
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
RaltonLewis2-Oct-08 7:11
RaltonLewis2-Oct-08 7:11 
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
richardw482-Oct-08 9:02
richardw482-Oct-08 9:02 
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
RaltonLewis2-Oct-08 10:19
RaltonLewis2-Oct-08 10:19 
GeneralRe: How Do I Add A New Column For Each Record From Table To Existing DatagridView Pin
richardw482-Oct-08 22:06
richardw482-Oct-08 22:06 
Questionopen window using vb Pin
jhyn2-Oct-08 2:07
jhyn2-Oct-08 2:07 
AnswerCheck this CodeProject article Pin
David Mujica2-Oct-08 3:04
David Mujica2-Oct-08 3:04 
QuestionRe: open window using vb Pin
richardw482-Oct-08 3:45
richardw482-Oct-08 3:45 
AnswerRe: open window using vb Pin
jhyn2-Oct-08 15:50
jhyn2-Oct-08 15:50 
QuestionRe: open window using vb Pin
richardw482-Oct-08 22:11
richardw482-Oct-08 22:11 
QuestionVS 2008 Express - need to create a setup package Pin
Anoop Brijmohun2-Oct-08 0:22
Anoop Brijmohun2-Oct-08 0:22 
AnswerRe: VS 2008 Express - need to create a setup package Pin
Johan Hakkesteegt2-Oct-08 1:47
Johan Hakkesteegt2-Oct-08 1:47 
AnswerRe: VS 2008 Express - need to create a setup package Pin
jzonthemtn2-Oct-08 6:01
jzonthemtn2-Oct-08 6:01 
GeneralRe: VS 2008 Express - need to create a setup package Pin
Paul Conrad2-Oct-08 9:35
professionalPaul Conrad2-Oct-08 9:35 
GeneralRe: VS 2008 Express - need to create a setup package Pin
Anoop Brijmohun2-Oct-08 20:27
Anoop Brijmohun2-Oct-08 20:27 
QuestionWinForms DatagridView Field Pin
MatthysDT1-Oct-08 23:12
MatthysDT1-Oct-08 23:12 
AnswerRe: WinForms DatagridView Field Pin
George B Gilbert2-Oct-08 6:40
George B Gilbert2-Oct-08 6:40 

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.