Click here to Skip to main content
15,895,370 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQLClient related question Pin
mysorian12-May-06 6:56
professionalmysorian12-May-06 6:56 
GeneralRe: SQLClient related question Pin
Rob Graham12-May-06 7:04
Rob Graham12-May-06 7:04 
Questionrandom alphanumeric generator Pin
lehya11-May-06 1:46
lehya11-May-06 1:46 
AnswerRe: random alphanumeric generator Pin
sathish s11-May-06 2:00
sathish s11-May-06 2:00 
AnswerRe: random alphanumeric generator Pin
atandon18-Nov-09 19:53
atandon18-Nov-09 19:53 
QuestionReturning Multiple Tables from Stored Procedure Pin
Craig G Fraser11-May-06 1:24
Craig G Fraser11-May-06 1:24 
AnswerRe: Returning Multiple Tables from Stored Procedure Pin
chinnasrihari11-May-06 3:36
chinnasrihari11-May-06 3:36 
AnswerRe: Returning Multiple Tables from Stored Procedure Pin
Michael Potter11-May-06 3:38
Michael Potter11-May-06 3:38 
DataSets are perfectly capable of handling multiple tables. There is no difference in acquiring multiple tables from a stored proc as there is in acquiring one table. In your case:

DataSet ds = new DataSet();
// ... Call stored proc
Console.WriteLine("Table 1 Rows: " + ds.Tables[0].Rows.Count().ToString();
Console.WriteLine("Table 2 Rows: " + ds.Tables[1].Rows.Count().ToString();
Console.WriteLine("Table 3 Rows: " + ds.Tab;es[2].Rows.Count().ToString();

AnswerRe: Returning Multiple Tables from Stored Procedure Pin
Paul Brower11-May-06 4:07
Paul Brower11-May-06 4:07 
QuestionSwitch from Access to MS SQL Server Pin
armax7511-May-06 0:49
professionalarmax7511-May-06 0:49 
AnswerRe: Switch from Access to MS SQL Server Pin
Colin Angus Mackay11-May-06 1:19
Colin Angus Mackay11-May-06 1:19 
GeneralRe: Switch from Access to MS SQL Server Pin
armax7511-May-06 10:54
professionalarmax7511-May-06 10:54 
GeneralRe: Switch from Access to MS SQL Server Pin
Colin Angus Mackay11-May-06 11:05
Colin Angus Mackay11-May-06 11:05 
AnswerRe: Switch from Access to MS SQL Server Pin
Frank Kerrigan12-May-06 5:21
Frank Kerrigan12-May-06 5:21 
QuestionUsing INSERT to copy a table Pin
Ista10-May-06 7:44
Ista10-May-06 7:44 
AnswerRe: Using INSERT to copy a table Pin
Eric Dahlvang10-May-06 8:05
Eric Dahlvang10-May-06 8:05 
AnswerRe: Using INSERT to copy a table Pin
Chemisus10-May-06 18:26
Chemisus10-May-06 18:26 
QuestionDetaching Database on SQL server 2000 Pin
For_IT10-May-06 5:40
For_IT10-May-06 5:40 
AnswerRe: Detaching Database on SQL server 2000 Pin
Colin Angus Mackay10-May-06 7:19
Colin Angus Mackay10-May-06 7:19 
GeneralRe: Detaching Database on SQL server 2000 Pin
For_IT10-May-06 10:19
For_IT10-May-06 10:19 
AnswerRe: Detaching Database on SQL server 2000 Pin
Eric Dahlvang10-May-06 8:10
Eric Dahlvang10-May-06 8:10 
QuestionSimple change in the connection string problem... VB.net 2005 Pin
nirishere10-May-06 5:02
nirishere10-May-06 5:02 
QuestionQuery Problem? Pin
pubududilena10-May-06 1:38
pubududilena10-May-06 1:38 
AnswerRe: Query Problem? Pin
Michael Potter10-May-06 3:34
Michael Potter10-May-06 3:34 
AnswerRe: Query Problem? Pin
chinnasrihari11-May-06 3:49
chinnasrihari11-May-06 3:49 

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.