my tables are very big size.
If i drag&drop the table as adapter, it seems fill in all the data in
dataset during formload.
Which is the best way ? programmically to create or use drag or drop ?

Re: Create dataadapter programically or drog &drop ? by Cor

Cor
Fri Jun 18 09:57:59 CDT 2004

Hi Agnes,

> my tables are very big size.
> If i drag&drop the table as adapter, it seems fill in all the data in
> dataset during formload.
> Which is the best way ? programmically to create or use drag or drop ?

That does not not change anything in the size of your dataset.

You should set when you use the dataadapter wizard the right select string
and select with a WHEN clause only the rows from the tables you need from
your database.

I hope this helps?

Cor.



Re: Create dataadapter programically or drog &drop ? by Miha

Miha
Fri Jun 18 15:34:41 CDT 2004

Hi Agnes,

It is your call.
Sooner or later you have to create the dataset and adapter if you need them.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Agnes" <agnes@dynamictech.com.hk> wrote in message
news:uEKklPUVEHA.3512@TK2MSFTNGP12.phx.gbl...
> my tables are very big size.
> If i drag&drop the table as adapter, it seems fill in all the data in
> dataset during formload.
> Which is the best way ? programmically to create or use drag or drop ?
>
>