Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace SQL_FireBird
- {
- public class FireBird_Conn
- {
- static public FbConnection fbConn;
- static public FbCommandBuilder fbCommand = new FbCommandBuilder();
- public static FbConnection FBConn
- {
- get { return fbConn; }
- }
- public static FbCommandBuilder FBCommand
- {
- get { return fbCommand; }
- }
- public static Boolean conectionFB (Boolean bAtive)
- {
- if(bAtive)
- {
- string _conn;
- _conn = String.Format(@"DataSource={0}; Database=C:\\arq.fdb; Port={1}; username= SYSDBA; password = masterkey", IP, Port);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement