Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 10th, 2004, 04:12 AM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default differnce between dataset and recordset

hi,
i just want to know the difference between dataset and recordset.

Thanx

sachin
 
Old September 10th, 2004, 04:54 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

Dear
Dataset is a named collection of logically related data items arranged in a prescribed manner.
While a recordset object is opened with a SQL query to a database, and the results (or lack thereof) are stored in the recordset

Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
 
Old September 10th, 2004, 05:44 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Sachin,

Recordset is an object that refers the entire base table or set or rows that resulted from a query. It is an ADO object. Dataset doesn't exist in ADO.

Dataset is an ADO.Net object. The DataSet object is central to supporting disconnected, distributed data scenarios with ADO.NET as referred in msdn.

If I am right, recordset of ADO is upgraded to Dataset in ADO.Net with more features.

Refer these links for more info on them.
ADO Recordset Object

ADO.NET DataSet

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old September 10th, 2004, 09:30 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Quote:
quote:Originally posted by happygv
If I am right, recordset of ADO is upgraded to Dataset in ADO.Net with more features.
Not quite...

The ADO Recordset is more like a DataTable than a DataSet. A DataSet contains DataTables whereas the Recordset is more or less just one table. (Of course, you can use a multipart query and get multiple result sets in the same Recordset.)
 
Old September 10th, 2004, 09:38 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

planoie,

Thanks for correcting me, that explains much better. (I am just starting off)

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
differnce between xsl:apply-templates and xsl:call chandu.mca007 XSLT 2 June 12th, 2007 04:12 AM
Clone DAO Recordset into ADO Recordset kamrans74 VB How-To 0 March 6th, 2007 11:57 AM
Conversion of recordset to a dataset kishoreinfotech ADO.NET 2 December 19th, 2006 05:00 AM
ADODB.Recordset (0x800A0CB3)Current Recordset does tks_muthu Classic ASP Databases 0 June 16th, 2005 07:22 AM
Convert ADO recordset to DAO recordset andrew_taft Access 1 May 5th, 2004 02:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.