Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
I am trying to use Firebird 2.5.5 64 bit embeded version with C# (Frame work 4.5). Anybody can help me on below things

1. Which .dll i have to refer for ado connection (FirebirdSql.Data.Firebird.dll or FirebirdSql.Data.Firebirdclient.dll)
2. How to resolve the error (An unhandled exception of type 'Firebirdsql.data.firebird.Fbexception) occured in FirebirdSql.data.Firebird.dll


What I have tried:

using FirebirdSql.Data.Firebird;

Connection

static string connectionString = "ServerType=1;User=SYSDBA;Password=masterkey;Dialect=3;Database=mydb.FDB";
FbConnection mConn = new FbConnection(connectionString);

Data fetching

FbDataAdapter da = new FbDataAdapter("SELECT * FROM table1", mConn);
DataTable dt = new DataTable();
da.Fill(dt);
Posted
Comments
Member 10522245 11-Apr-16 5:56am    
Somebody please help me to get a solutions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900