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 by date:
Соглашаюсь с условиями обработки персональных данных