What is dataset and uses of dataset ?
Answers were Sorted based on User's Feedback
DATASET:
The dataset is a in-memory representation of data.
DataSet is made up of a collection of DataTable objects.
It can be considered as a local copy of the relevant
portions of the database.
The data is persisted in memory and the data in it can be
manipulated and updated independent of the database. When
the use of this dataset is finished, changes can made back
to the central database for updating.
The data in dataset can be loaded from any valid
datasources like Microsoft SQL Server database, an Oracle
database or a Microsoft Access database.
USES:
1. You normally use datasets to hold results of database
queries, but you can also create them on the fly and
populate them programmatically.
2. The DataSet object has characteristics that make it
suitable for persisting application settings: It can hold
hierarchical data in the Tables collection, and you can use
the WriteXml() method to save the entire dataset into an
XML file with a simple call:
ds.WriteXml(strFileName,
XmlWriteMode.WriteSchema);
3. We can seperate data layer from presentation layer by
using class or dataset in .net 2.0.
4. The DataSet in .Net rocks, it provides so much
functionality for free, that it makes it the prefered data
transport mechanism between the presentation layer and the
buisiness layer, when dealing with a pure .Net technology
stack then DataSet's are the way to go.
5. DataSet has some powerful XML-related capabilities. For
example, you can serialize a DataSet into XML through its
WriteXml() method; conversely, you can populate a DataSet
from a properly formatted XML stream using the DataSet's
ReadXml() method.
| Is This Answer Correct ? | 21 Yes | 0 No |
1. datasert is connection less in memory representation of
the data xml represention.
2. once the data load into dataset their is no need to
maintain the live connection.
3.once dataset is collection of any no.of datatable
objects.the information of these table may be taken from
diff datasource.
4.the dataset updatable
5.the data set will represent the information inthe xml
format internally
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / ponvanaraja
A Dataset is a in memory representation of a collection of
Database objects including tables of a relational database
scheme. The dataset contains a collection of Tables,
Relations, constraints etc.,
It can be used for manipulating the data remotely and
finally updating the database with the modified data. This
way it enables disconnected means of working with data. This
improves performance in terms of reducing the number of
times a database is accessed for data manipulations.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / sathish
dataset solved a lot of handling huge amount of data.The
dataset when pointed to stored procedures can be able to
load data of many tables and can be accessed at any instant
any record.
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / kavitha
dataset are tow types
typed dataset typeddataset and untypeddataset
typedataset is xml format
untypeddataset is textformat
dataset as any modifications create insert delete insert
update & edit
dataset like as database
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / supriya
Dataset is a memory represtation of data.it is collection
of datatables object.it can manipulated and updated
independent of the database.it is normally hold the result
of datasets.
| Is This Answer Correct ? | 0 Yes | 1 No |
Can One website be made using two different languages like c#,vb.net etc......
What is the difference between Session and response.Redirect?
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)?
What is web.config and machine.config ?
3 Answers Collabor, NDPL, TCS,
What is runat?
What is session handling in a webfarm, how it can work with its limits?
A Web Service Can Only Be Written In .net. Is it True??
Why is it important to maintain session state?
What is rending process in ASP.NET?
0 Answers Sans Pareil IT Services,
I create small website, i want accept all the browser this website? what will do?
Explain the difference between value type and reference type?
You are creating a Web site for Your company. You receive product lists in the form of XML documents. You are creating a procedure to extract information from these XML documents according to criteria that your users will select. When a user makes a request, you want the results of these requests to be returned as quickly as possible. What should you do? A . Create an XmlDataDocument object and load it with the XML dat Use the DataSet property of the object to create a DataSet object. Use a SQL SELECT statement to extract the requested dat B . Create an XmlDataDocument object and load it with the XML data. Use the SelectNodes method of the object to extract the requested data. C . Create an XPathDocument object and load it with the XML data. Call the CreateNavigator method to create an XPathNavigator object. Call the Select method of the XPathNavigator object to run an XPath query that extracts the requested data. D . Create an XmlReader object. Use the Read method of the object to stream through the XML data and to apply an XPath expression to extract the requested data.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)