-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: Cindrella
Message 5 in Discussion
ur specific queries:-- * DatAdapater acts as a bridge to bring in/send out data to
database -- TRUE
* Dataset is in-memory cache, disconnected from db, doesnt talk to db directly -- TRUE
* DataTable could be a part of dataset. -- DATASET IS MADE UP OF DATATABLES ,
DATAVIEWS AND DATARELATIONS
* could multiple table from a common datasource be a part of same dataset ? - YES
* How to add multiple tables to same dataset, using same datasource ? SqlDataAdapter
da= new SqlDataAdapter("Select * from Table1","Provider user id ....");
DataSet ds = new DataSet();
da.Fill(ds, "tab1");
// Next table da.SelectCommand .CommandText = "Select * from Table2");
da.Fill(ds,"Tab2")
* A separate dataadapter is needed, for each SELECT/Stored proc, which will bring in
data to dataset -- NO
Can a single dataadapter be used for multiple tables added to the same dataset having
common source ? -- YES
Regards Swati
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]