I need codes on how to connect C# and FireBird ,,, codes such as to add, update, delete, view records.
What codes can i use so that i can connect Visual C# to the FireBird database??
Here is the Code
%26lt;P nd="9"%26gt;The Firebird ADO.NET
Provider can connect to a standalone Firebird
Server using a connection string like this:%26lt;/P%26gt;
%26lt;PRE lang=cs nd="10"%26gt;FbConnection c = new FbConnection("ServerType=0;User=SYSDBA;" +
"Password=masterkey;Dialect=3;
Database=c:\\data\\mydb.fdb");%26lt;/PRE%26gt;
%26lt;P nd="14"%26gt;It can connect to an embedded
Firebird using this connection
string:%26lt;/P%26gt;%26lt;PRE lang=cs nd="15"%26gt;
FbConnection c = new FbConnection("ServerType=1;User=SYSDBA;" +
"Password=masterkey;Dialect=3;
Database=mydb.fdb");%26lt;/PRE%26gt;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment