473,465 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DataSet & database portability

Hi;

Please correct me if I am wrong. It appears that if I use a DataSet object,
that is bound to a specific database vendor - in other words I can't use it
for data that might reside on Sql Server or might be on Oracle. (Same
database schema, table & column names etc, but a different vendor.)

If I can't use DataSet, is the best approach the old create an item object
that holds all columns in 1 row and create a data access class that will do
CRUD of a row using the item object?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Mar 10 '06 #1
2 947
you are wrong.

a DataSet has no vender knowledge in it. the DataAdapter is vender specific
and moves data to/from the DataSet to the vender database.

-- bruce ((sqlwork.com)
"David Thielen" <th*****@nospam.nospam> wrote in message
news:30**********************************@microsof t.com...
Hi;

Please correct me if I am wrong. It appears that if I use a DataSet
object,
that is bound to a specific database vendor - in other words I can't use
it
for data that might reside on Sql Server or might be on Oracle. (Same
database schema, table & column names etc, but a different vendor.)

If I can't use DataSet, is the best approach the old create an item object
that holds all columns in 1 row and create a data access class that will
do
CRUD of a row using the item object?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Mar 10 '06 #2
I went and looked carefully at MyDataSet.xsd and you're right, there does not
appear to be anything provider specific in it - assuming the datatypes map
correctly.

This is really impressive that it has portability at this level of detail.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

"Bruce Barker" wrote:
you are wrong.

a DataSet has no vender knowledge in it. the DataAdapter is vender specific
and moves data to/from the DataSet to the vender database.

-- bruce ((sqlwork.com)
"David Thielen" <th*****@nospam.nospam> wrote in message
news:30**********************************@microsof t.com...
Hi;

Please correct me if I am wrong. It appears that if I use a DataSet
object,
that is bound to a specific database vendor - in other words I can't use
it
for data that might reside on Sql Server or might be on Oracle. (Same
database schema, table & column names etc, but a different vendor.)

If I can't use DataSet, is the best approach the old create an item object
that holds all columns in 1 row and create a data access class that will
do
CRUD of a row using the item object?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com


Mar 10 '06 #3

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

Similar topics

72
by: Mel | last post by:
Are we going backwards ? (please excuse my spelling...) In my opinion an absolute YES ! Take a look at what we are doing ! we create TAGS, things like <H1> etc. and although there are tools...
1
by: gro.asumsa | last post by:
I have two DataTables in a DataSet. I would like to create a third DataTable in the same DataSet that is a Join of the two original DataTables. The two tables are extracted from two different...
1
by: Linesh Gajera | last post by:
Hi Guys i having the same problem with Strongly typed dataset, I have created a stronsetly typed dataset by draging table from Server explorer and now i have retreived xml from SQL server 2000...
84
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: ...
11
by: bill | last post by:
I recently worked with a piece of code where dereferencing the pointer was too slow, and I was able to achieve a nearly 2x speed-up by replacing a local array of size 8 with 8 local variables. (*x...
13
by: Adie | last post by:
Hi, is this not possible? public DataSet getDimensions() { } public SqlDataReader getDimensions() { }
3
by: Wance | last post by:
Hi everybody, I have datatable and stored in dataset. The dataset Never connect to datasource before. How can I move mydata in dataset into the table in data souce? For instance my table say it ...
5
by: msuk | last post by:
All, I have a VB.NET/ASP.NET application that uses some common data throughout. Now what I would like to do is instead of hitting the database every time to fetch back two dataset of 5 rows 2...
1
by: Sergey Topychkanov | last post by:
I have SQL SERVER 2008 Express and C# Express 2008 - both sp1. I can remove and update data in my database only thru direct SQL query thru database explorer, but quite unable to do it through...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.