dear all I have the following sample code which i am trying to use to connect to sql*plus in visual studio 2010 but i keep getting the error message connection string is not well-formed. see my code below
protected void Button1_Click(object sender, EventArgs e)
{
string oradb = "User Id=finance;Password=finacecc;Data Source=XE";
string sql = "select ID, Create_date from t_mobile";
OracleDataAdapter adapter = new OracleDataAdapter(oradb, sql);
OracleCommandBuilder builder = new OracleCommandBuilder(adapter);
DataSet dataset = new DataSet();
adapter.Fill(dataset, "t_mobile");
DataTable mytable = dataset.Tables["t_mobile"];
GridView1.DataSource = mytable;
GridView1.DataBind();
}