C
claire
You can make a dataadapter and a data set..
daTest = new dataadapter();
DataSet dsTest = new DataSet(); // or use a typed dataset
daTest.SelectCommand = cmdSelect; //your stored proc
daTest.Fill(dsTest, "tablename"); // your dataset to fill and the table name
in the dataset..
Or leave out the table name to fill all tables ...
Or have separate stored procs and set the select command equal to each one
before filling each table.
I hope this helps.
Cheers
Claire
daTest = new dataadapter();
DataSet dsTest = new DataSet(); // or use a typed dataset
daTest.SelectCommand = cmdSelect; //your stored proc
daTest.Fill(dsTest, "tablename"); // your dataset to fill and the table name
in the dataset..
Or leave out the table name to fill all tables ...
Or have separate stored procs and set the select command equal to each one
before filling each table.
I hope this helps.
Cheers
Claire