[Mono-list] Create a DataAdapter using Npgsql

Francisco Figueiredo Jr. fxjrlists@yahoo.com.br
Fri, 01 Oct 2004 22:49:54 -0300


Jonel Rienton wrote:
> hi again, how would one create a DataAdapter object in Npgsql? i've read 
> through the docs and i can't seem to find one.
> 

Hi Jonel.

You can create a data adapter directly:

NpgsqlDataAdapter da = new NpgsqlDataAdapter("select clause", 
NpgsqlConnection);

Please, have a look in Working with datasets in Npgsql user manual:
http://gborg.postgresql.org/project/npgsql/cvs/co.php/Npgsql/docs/UserManual.htm

If you have any other doubt or problem, please, let me know.

Regards,

Francisco Figueiredo Jr.