473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Refresh my memory on datatables, datasets etc.

cj
I've used datatables and datasets before. Datasets being able to hold
more than one table and datatables being only one table. My mind keeps
coming up with recordsets. I can't remember how they fit into the picture.

I'm going to be reading some records from a table in a sql db.
Mar 9 '06 #1
3 1569
cj,

A recordset is ADO classic terminology.

In ADO.Net you need to be able to work with dataadapters, datasets,
datatables, datarows, etc. But not recordsets.

Kerry Moorman
"cj" wrote:
I've used datatables and datasets before. Datasets being able to hold
more than one table and datatables being only one table. My mind keeps
coming up with recordsets. I can't remember how they fit into the picture.

I'm going to be reading some records from a table in a sql db.

Mar 9 '06 #2
cj
Thanks, I suspected my mind might be regressing.
Kerry Moorman wrote:
cj,

A recordset is ADO classic terminology.

In ADO.Net you need to be able to work with dataadapters, datasets,
datatables, datarows, etc. But not recordsets.

Kerry Moorman
"cj" wrote:
I've used datatables and datasets before. Datasets being able to hold
more than one table and datatables being only one table. My mind keeps
coming up with recordsets. I can't remember how they fit into the picture.

I'm going to be reading some records from a table in a sql db.

Mar 9 '06 #3
CMM
In .NET a Dataset is a container for one or more DataTables. They are
completely database unaware and agnostic.... think of it as an Array of
Arrays of Arrays. IMHO, it doesn't even belong in the System.Data namespace,
but should be in System.Collections.

A DataAdapter communicates with a database and fills the Dataset's tables.
It's the "bridge."

In .NET 2.0, the highly RETARDED throwback to the "1990's ADO" new
"TableAdapter" is an easier to use wrapper around the DataAdapter. It is
tightly coupled to a Dataset (violating all sorts of true n-tier principles)
and is for the braindead folks who couldn't grasp the way the original
DataAdapter worked.

--
-C. Moya
www.cmoya.com
"cj" <cj@nospam.nospam> wrote in message
news:em**************@TK2MSFTNGP12.phx.gbl...
I've used datatables and datasets before. Datasets being able to hold
more than one table and datatables being only one table. My mind keeps
coming up with recordsets. I can't remember how they fit into the
picture.

I'm going to be reading some records from a table in a sql db.

Mar 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: William Ryan | last post by:
At the risk of sounding like a Big 5 consultant, "It depends". 1) Strongly typed datasets rock, they are faster than untyped, use intellisense... but your reason for wanting to use them is...
2
by: Jade | last post by:
Hi, I just wanted to ask a quick question regarding datasets. I am creating 3 tables using a dataadapter. what i want to know is that is the relationship created between these datatables...
2
by: Z D | last post by:
Hello, I'm currently using Remoting (HTTP/Binary) to remote a simple object. Everything is working fine except for one function that returns an arraylist of datatables. When I call this...
2
by: Alvaro E. Gonzalez V. | last post by:
Hi; I'm building a control that has a DataTable's property type. The control contains treeview which is populated in foreach crossing rows of the DataTable established in the property. I...
1
by: psb | last post by:
I thought this was weird?? is this a bug in framework 1.0??? (1.0 is the version I am running against) --------------------------- dim dtAll as new datatable dim dtTmp as datatable dtTmp =...
7
by: ItsMe | last post by:
Hi, I've 4 fields are as follows: Field Name DataType ---------- -------- SLNo AutoIncrement ItemCode String(10) Qty Integer Price ...
4
by: John Dalberg | last post by:
I noticed the starterkits timetracker & issue tracker load data from a database into custom collections (arraylists) which bind to a datagrid. What are the advantages of using custom collections...
14
by: Piotrek | last post by:
Hi all. I have a web app, in which I use frames. My main frameset consists of three inner frames. When some button is pressed in frame A, then content of frame B is reloaded. I am using such...
11
by: Aleks Kleyn | last post by:
I wrote application on asp.net 2.0 using dataset. One dataset I put in session collection and other (which is small and common for other users) I put in application. I expected that it will get...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.