Thread: Npgsql GUI problem C#.net

Npgsql GUI problem C#.net

From
Jessie
Date:
Hi all,

I'm using C#.net 2005 dealing with Npgsql. I have a very newbie
question about how to use the data received from the database. I've
already connected the database with the program and reading data from
database works very well in the Console application. But in windows
form application, I want use form_load function to call the reading
function, which is confusing since the parameter of the function
"String[ ] args". How should I combine this reading function with my
windows form application. This seems a simple question happens in
every GUI application form when accessing to the database, but I
couldn't find any source to help on this yet.

I appreciate any of your help!

Jessie


Re: Npgsql GUI problem C#.net

From
"Hiroshi Saito"
Date:
Hi.

Please see,
http://npgsql.projects.postgresql.org/exampleprograms.html
This is DataGrid sample. It is very simple composition.
However, Operation may be somewhat difficult at the property
of VS2005. Then, ADO.NET2.0 and Npgsql are not congenial.

Regards,
Hiroshi Saito

----- Original Message -----
From: "Jessie" <freshfreefish@gmail.com>
To: <pgsql-general@postgresql.org>
Sent: Tuesday, August 28, 2007 4:04 AM
Subject: [GENERAL] Npgsql GUI problem C#.net


> Hi all,
>
> I'm using C#.net 2005 dealing with Npgsql. I have a very newbie
> question about how to use the data received from the database. I've
> already connected the database with the program and reading data from
> database works very well in the Console application. But in windows
> form application, I want use form_load function to call the reading
> function, which is confusing since the parameter of the function
> "String[ ] args". How should I combine this reading function with my
> windows form application. This seems a simple question happens in
> every GUI application form when accessing to the database, but I
> couldn't find any source to help on this yet.
>
> I appreciate any of your help!
>
> Jessie
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly