Hello… Everyone
Any one can give me perfectly information about Dataset in c#. Why and where use it or is any substitute of Dataset in c#. How it's work in data source....
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mamta MRank #268 · 9.4K reputationPosted Jul 5, 2011, 8:53 PM EDT
Consider for example that you have Suppliers and Shipments tables from which you retrieve data frequently into a C# application. Instead of making 100's of round trips to the database server, you store data from these tables in a DataSet object which is stored locally and perform all your data manipulations on the DataSet object. When you want to submit changes back to the database, you can do that through the DataSet. Using a DataSet gives you faster and more efficient performance.
This link from MSDN describes more what is a dataset and what is its role in ADO.NET.
http://msdn.microsoft.com/en-us/library/ss7fbaez.aspx
Posted Jul 5, 2011, 9:08 PM EDT
Dataset is an object which contains a set of datatables and u can access each datatables by ds.table[0].It is mainly used when u return results from a stored procedure which contains one or more datatables.
With Regards
P.Krishna Prasad
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 5, 2011, 9:28 PM EDT
What mamta said is absolutely right...
refer these links for more clarification:
Link1
Link2
hope it helps....
Vilas GiteRank #951 · 2.1K reputationPosted Jul 5, 2011, 10:09 PM EDT
refer "Our recommended articles".
------------------------------------------------
Manish TewatiaRank #48 · 31.3K reputationPosted Jul 5, 2011, 10:17 PM EDT
http://www.c-sharpcorner.com/UploadFile/jgodel/DataSetsOverview11232005041415AM/DataSetsOverview.aspx
Valon AdemiRank #481 · 5.2K reputationPosted Jul 5, 2011, 10:22 PM EDT