EDB
Database
2
Posts
2
Posters
0
Views
1
Watching
-
how to create edb in C# and read data from there. :doh: plzzzzzzzzzzzzz anyone help as soon as possible.
-
how to create edb in C# and read data from there. :doh: plzzzzzzzzzzzzz anyone help as soon as possible.
I am assuming you mean Enterprise Database? The answer is the same as you open a sql or any other kind of database:
using EnterpriseDB.EDBClient;
string strConnectionString = ConfigurationSettings.AppSettings
["DB_CONN_STRING"];
EDBConnection conn = new EDBConnection(strConnectionString);try { conn.Open(); Response.Write("Connection opened successfully"); } catch(EDBException exp) { exp.ToString(); } finally { conn.Close(); }
I have not compiled the code so expect errors