Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: Fill DataSet with two tables Pin
stancrm30-Jul-09 3:07
stancrm30-Jul-09 3:07 
GeneralRe: Fill DataSet with two tables Pin
Rahul DSG30-Jul-09 3:16
Rahul DSG30-Jul-09 3:16 
GeneralRe: Fill DataSet with two tables Pin
Robin_Roy30-Jul-09 17:11
Robin_Roy30-Jul-09 17:11 
AnswerRe: Fill DataSet with two tables Pin
Mike Ellison30-Jul-09 3:12
Mike Ellison30-Jul-09 3:12 
GeneralRe: Fill DataSet with two tables Pin
Rahul DSG30-Jul-09 19:24
Rahul DSG30-Jul-09 19:24 
GeneralRe: Fill DataSet with two tables Pin
Mike Ellison3-Aug-09 6:44
Mike Ellison3-Aug-09 6:44 
GeneralRe: Fill DataSet with two tables Pin
Rahul DSG3-Aug-09 20:09
Rahul DSG3-Aug-09 20:09 
GeneralRe: Fill DataSet with two tables Pin
Mike Ellison4-Aug-09 2:44
Mike Ellison4-Aug-09 2:44 
Why is the table name a must upon filling? You can always change the table name (if you really need to) after filling the set like this:
sda.Fill(ds);
ds.Tables[0].TableName = "tableNameIsAMust.";
ds.Tables[1].TableName = "somethingElse";

Or is it that you are looking to execute two queries separately (instead of together in one batch)? In that case, you could supply separate table names upon filling:
da1.Fill(ds, "Table1");
da2.Fill(ds, "Table2");

I'm having difficulty understanding exactly why this is problematic for you. Can you explain?


GeneralRe: Fill DataSet with two tables Pin
Rahul DSG6-Aug-09 18:14
Rahul DSG6-Aug-09 18:14 
AnswerRe: Fill DataSet with two tables Pin
PIEBALDconsult30-Jul-09 4:23
mvePIEBALDconsult30-Jul-09 4:23 
Questionclosin a form in application hangs the application or closes the applcn Pin
Vivek Vijayan30-Jul-09 2:48
Vivek Vijayan30-Jul-09 2:48 
Questiona performance problem Pin
reilak30-Jul-09 2:37
reilak30-Jul-09 2:37 
AnswerRe: a performance problem Pin
Nagy Vilmos30-Jul-09 4:07
professionalNagy Vilmos30-Jul-09 4:07 
GeneralRe: a performance problem Pin
reilak30-Jul-09 4:27
reilak30-Jul-09 4:27 
GeneralRe: a performance problem Pin
Nagy Vilmos30-Jul-09 4:32
professionalNagy Vilmos30-Jul-09 4:32 
GeneralRe: a performance problem Pin
reilak30-Jul-09 4:37
reilak30-Jul-09 4:37 
AnswerRe: a performance problem Pin
PIEBALDconsult30-Jul-09 4:26
mvePIEBALDconsult30-Jul-09 4:26 
AnswerRe: a performance problem (UPDATE) Pin
reilak30-Jul-09 4:33
reilak30-Jul-09 4:33 
GeneralRe: a performance problem (UPDATE) Pin
Luc Pattyn30-Jul-09 13:50
sitebuilderLuc Pattyn30-Jul-09 13:50 
AnswerRe: a performance problem, (check this out) Pin
reilak1-Aug-09 22:16
reilak1-Aug-09 22:16 
QuestionConverting HTML File to Excel File and XML File using c# Code Pin
shavil30-Jul-09 2:35
shavil30-Jul-09 2:35 
AnswerRe: Converting HTML File to Excel File and XML File using c# Code Pin
Mike Ellison30-Jul-09 2:57
Mike Ellison30-Jul-09 2:57 
QuestionDouble click custom controls Pin
Jon Henry30-Jul-09 2:27
Jon Henry30-Jul-09 2:27 
AnswerRe: Double click custom controls Pin
Mike Ellison30-Jul-09 2:36
Mike Ellison30-Jul-09 2:36 
GeneralRe: Double click custom controls Pin
Jon Henry30-Jul-09 12:20
Jon Henry30-Jul-09 12:20 

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.