How to connect the POstgreSQL 8.1.4 with Borland Developer Studio 2006 (Delphi.NET)
-
I'm not able connect my front end "Borland developer Studio 2006" with postgreSQL 8.1.I'm developing my application with ASP.NET and C#.NET in "Borland developer studio 2006" environment.Please help in this matter by sending the "connection string" and "namespace to use" in db connection.. I'm using layer coding in ASP.NET and C# (code behind).I'm new to postgreSQL 8.1.4,previously i'm using SQL Server 2000,in that i use this codes to connect my front end. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Web; using System.Web.Services; using System.Data.SqlClient; using System.Web.UI.WebControls; namespace suyam { public class Election { public SqlConnection con=new SqlConnection("initial catalog=election;user id=sa"); public SqlCommand cmd; public SqlDataReader dr; DataSet ds=new DataSet(); SqlDataAdapter da=new SqlDataAdapter(); hari
-
I'm not able connect my front end "Borland developer Studio 2006" with postgreSQL 8.1.I'm developing my application with ASP.NET and C#.NET in "Borland developer studio 2006" environment.Please help in this matter by sending the "connection string" and "namespace to use" in db connection.. I'm using layer coding in ASP.NET and C# (code behind).I'm new to postgreSQL 8.1.4,previously i'm using SQL Server 2000,in that i use this codes to connect my front end. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Web; using System.Web.Services; using System.Data.SqlClient; using System.Web.UI.WebControls; namespace suyam { public class Election { public SqlConnection con=new SqlConnection("initial catalog=election;user id=sa"); public SqlCommand cmd; public SqlDataReader dr; DataSet ds=new DataSet(); SqlDataAdapter da=new SqlDataAdapter(); hari