PC Review


Reply
Thread Tools Rate Thread

All tables from a db to one dataset

 
 
=?Utf-8?B?S3Jpc3RpYW4=?=
Guest
Posts: n/a
 
      8th Aug 2005
Hello,
Could anyone advice on the best method to collect all data from a database
to a dataset?
Thanks in advance,
kk
 
Reply With Quote
 
 
 
 
Marina
Guest
Posts: n/a
 
      8th Aug 2005
I would advise you to not do this.

If you will do it anyway, there is really no other way then to have select
statements for each table, and call Fill on a dataadapter.

"Kristian" <(E-Mail Removed)> wrote in message
news:8FBB858B-284C-4CE2-BFD4-(E-Mail Removed)...
> Hello,
> Could anyone advice on the best method to collect all data from a database
> to a dataset?
> Thanks in advance,
> kk



 
Reply With Quote
 
=?Utf-8?B?a2s=?=
Guest
Posts: n/a
 
      8th Aug 2005
OK,
It's not for the application, it's to move data from old to new...

But there must be a way to use commandbuilder huh?
kk

"Marina" wrote:

> I would advise you to not do this.
>
> If you will do it anyway, there is really no other way then to have select
> statements for each table, and call Fill on a dataadapter.
>
> "Kristian" <(E-Mail Removed)> wrote in message
> news:8FBB858B-284C-4CE2-BFD4-(E-Mail Removed)...
> > Hello,
> > Could anyone advice on the best method to collect all data from a database
> > to a dataset?
> > Thanks in advance,
> > kk

>
>
>

 
Reply With Quote
 
William \(Bill\) Vaughn
Guest
Posts: n/a
 
      8th Aug 2005
Worse yet. Use DTS or BCP to move the data. ADO makes a terrible bulk-data
transport mechanism.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"kk" <(E-Mail Removed)> wrote in message
news:EBD44372-3B7C-4277-A089-(E-Mail Removed)...
> OK,
> It's not for the application, it's to move data from old to new...
>
> But there must be a way to use commandbuilder huh?
> kk
>
> "Marina" wrote:
>
>> I would advise you to not do this.
>>
>> If you will do it anyway, there is really no other way then to have
>> select
>> statements for each table, and call Fill on a dataadapter.
>>
>> "Kristian" <(E-Mail Removed)> wrote in message
>> news:8FBB858B-284C-4CE2-BFD4-(E-Mail Removed)...
>> > Hello,
>> > Could anyone advice on the best method to collect all data from a
>> > database
>> > to a dataset?
>> > Thanks in advance,
>> > kk

>>
>>
>>



 
Reply With Quote
 
Marina
Guest
Posts: n/a
 
      8th Aug 2005
You should use DTS to move data between databases, not ADO.NET.

"kk" <(E-Mail Removed)> wrote in message
news:EBD44372-3B7C-4277-A089-(E-Mail Removed)...
> OK,
> It's not for the application, it's to move data from old to new...
>
> But there must be a way to use commandbuilder huh?
> kk
>
> "Marina" wrote:
>
>> I would advise you to not do this.
>>
>> If you will do it anyway, there is really no other way then to have
>> select
>> statements for each table, and call Fill on a dataadapter.
>>
>> "Kristian" <(E-Mail Removed)> wrote in message
>> news:8FBB858B-284C-4CE2-BFD4-(E-Mail Removed)...
>> > Hello,
>> > Could anyone advice on the best method to collect all data from a
>> > database
>> > to a dataset?
>> > Thanks in advance,
>> > kk

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSet has no tables Jeremy Microsoft ADO .NET 1 6th Jul 2009 09:52 AM
DataSet Designer/adding multiple tables to a dataset/ how? =?Utf-8?B?Q3VydGlz?= Microsoft ADO .NET 1 21st Aug 2006 02:09 PM
How to update dataset.Tables["tab1"] from records in dataset.Tables["tab2"]? AndiSHFR Microsoft C# .NET 1 12th Jan 2006 06:41 AM
dataset tables juli jul Microsoft C# .NET 0 20th Mar 2005 11:08 AM
DataSet Tables into Access tables with Oledb? Nevyn Twyll Microsoft ADO .NET 6 2nd Sep 2004 08:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:12 AM.