Npgsql connection string editor?

Поиск
Список
Период
Сортировка
От Radcon Entec
Тема Npgsql connection string editor?
Дата
Msg-id 806502.47785.qm@web113620.mail.gq1.yahoo.com
обсуждение исходный текст
Ответ на Re: invalid byte sequence for encoding  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: Npgsql connection string editor?  ("Francisco Figueiredo Jr." <francisco@npgsql.org>)
Список pgsql-general
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


В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Minor systax error but not able to resolve it...
Следующее
От: "Peter Headland"
Дата:
Сообщение: Re: COPY command character set