Click here to Skip to main content
15,906,463 members
Home / Discussions / C#
   

C#

 
GeneralSplitting a string constant over multiple lines Pin
Luca Leonardo Scorcia30-Aug-03 21:38
professionalLuca Leonardo Scorcia30-Aug-03 21:38 
GeneralRe: Splitting a string constant over multiple lines Pin
Jim Stewart30-Aug-03 21:55
Jim Stewart30-Aug-03 21:55 
GeneralRe: Splitting a string constant over multiple lines Pin
Luca Leonardo Scorcia30-Aug-03 21:59
professionalLuca Leonardo Scorcia30-Aug-03 21:59 
GeneralRe: Splitting a string constant over multiple lines Pin
leppie30-Aug-03 22:06
leppie30-Aug-03 22:06 
GeneralRe: Splitting a string constant over multiple lines Pin
Daniel Turini1-Sep-03 5:18
Daniel Turini1-Sep-03 5:18 
GeneralWindows Service Deployment Pin
Tatham30-Aug-03 18:41
Tatham30-Aug-03 18:41 
GeneralRe: Windows Service Deployment Pin
leppie30-Aug-03 22:09
leppie30-Aug-03 22:09 
GeneralRe: Windows Service Deployment Pin
Tatham31-Aug-03 15:31
Tatham31-Aug-03 15:31 
GeneralEncoding Style of a File Pin
Mehmet Cortuk30-Aug-03 17:37
sussMehmet Cortuk30-Aug-03 17:37 
GeneralASC() in C# Pin
econner30-Aug-03 11:20
econner30-Aug-03 11:20 
GeneralRe: ASC() in C# Pin
Meysam Mahfouzi30-Aug-03 17:49
Meysam Mahfouzi30-Aug-03 17:49 
GeneralRe: ASC() in C# Pin
Tatham30-Aug-03 18:43
Tatham30-Aug-03 18:43 
GeneralRe: ASC() in C# Pin
Bo Hunter31-Aug-03 11:17
Bo Hunter31-Aug-03 11:17 
GeneralRe: ASC() in C# Pin
Tatham2-Sep-03 21:51
Tatham2-Sep-03 21:51 
GeneralRe: ASC() in C# Pin
freshthinking3-Sep-03 5:23
freshthinking3-Sep-03 5:23 
GeneralMore than one table in DataSet Pin
Mazdak30-Aug-03 8:05
Mazdak30-Aug-03 8:05 
GeneralRe: More than one table in DataSet Pin
Nick Parker30-Aug-03 8:48
protectorNick Parker30-Aug-03 8:48 
GeneralRe: More than one table in DataSet Pin
Mazdak30-Aug-03 9:30
Mazdak30-Aug-03 9:30 
GeneralRe: More than one table in DataSet Pin
Meysam Mahfouzi30-Aug-03 17:40
Meysam Mahfouzi30-Aug-03 17:40 
GeneralRe: More than one table in DataSet Pin
Andres Manggini31-Aug-03 13:09
Andres Manggini31-Aug-03 13:09 
GeneralRe: More than one table in DataSet Pin
Mazdak31-Aug-03 20:37
Mazdak31-Aug-03 20:37 
GeneralRe: More than one table in DataSet Pin
james-cxx3-Sep-03 13:05
james-cxx3-Sep-03 13:05 
Try it once with the IDE/Form Designer first:

drag a dataAdapter to the form and configure it. Such as "SELECT * FROM Projects".
drag another dataAdapter to the form and configure it. Such as "SELECT * FROM People".

Now right-click the first dataAdapter icon and choose Generate Dataset. In the form that pops-up choose New Dataset, and name the dataset something like DSAll. This is actually the schema name, but a dataset will be created, named like dsAll1.

Now right-click the "other" dataAdpater and choose Generate Dataset. This time, choose "Existing Dataset" and select the dataset you just created. Then you have two dataAdapters (one for each table) which both update data in a single dataset (which contains two tables).

You can then look over the Designer generated code to see what it did.

GeneralRe: More than one table in DataSet Pin
Mazdak3-Sep-03 20:26
Mazdak3-Sep-03 20:26 
GeneralImplementing an Object.OnChange event Pin
bzurer30-Aug-03 1:25
bzurer30-Aug-03 1:25 
GeneralRe: Implementing an Object.OnChange event Pin
Philip Fitzsimons30-Aug-03 3:34
Philip Fitzsimons30-Aug-03 3:34 

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.