Re: Npgsql connection string editor?

From: "Francisco Figueiredo Jr(dot)" <francisco(at)npgsql(dot)org>
To: Radcon Entec <radconentec(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Npgsql connection string editor?
Date: 2010-02-24 17:57:17
Message-ID: 438d02261002240957t2eeda2ard9b3daba6572ced9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

This code is for initial design time support on VS.net 2003.

We are still working to get vs.net 2005 design time support as the
code to support it changed completely.

Sorry for this confusion. I'll check the docs to clarify this.

On Tue, Feb 23, 2010 at 17:00, Radcon Entec <radconentec(at)yahoo(dot)com> wrote:
> Greetings!
>
> I have found references on the Internet to a connection string designer for
> npgsql, but I haven't found where to get it.  I don't seem to have it with
> my download of npgsq. Or am I just looking in the wrong place?
>
> For example, http://npgsql.projects.postgresql.org/exampleprograms.html ,
> which is from the main npgsql web site, contains the following:
>
> public void ConnectToData()
> {
> string DSN;
> Npgsql.Design.ConnectionStringEditorForm Ndesign = new
> Npgsql.Design.ConnectionStringEditorForm();
> Ndesign.ShowDialog();
> DSN = Ndesign.ConnectionString.ToString();
> if (DSN == "")
> return;
>
> conn = new NpgsqlConnection(DSN);
> dset = new DataSet("npdata");
> NpAdapter = new NpgsqlDataAdapter();
> NpAdapter.SelectCommand = new NpgsqlCommand(query, conn);
> NpAdapter.Fill(dset, "npdata");
> dtsource = dset.Tables["npdata"];
>
> deleteCmd();
> updateCmd();
> insertCmd();
> }
>
> How can I get ConnectionStringEditorForm?
>
> RobR
>
>
>

--
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://www.npgsql.org
http://fxjr.blogspot.com
http://twitter.com/franciscojunior
Sent from Brasilia, DF, Brazil

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2010-02-24 18:01:58 Re: bugs reporting
Previous Message Joe Conway 2010-02-24 17:49:17 Re: select t.name from tbl t (where "name" is not a column name)