在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
string str = @"User=SYSDBA;Password=masterkey;Database=" + @"192.168.6.5:c:\ACA1300.FDB;DataSource=192.168.6.5; Port=3050;Dialect=3; Charset=NONE;Role=;Connection lifetime=15;Pooling=true; MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"; using (FbConnection cn = new FbConnection(str)) { cn.Open(); FbDataAdapter fba = new FbDataAdapter(@"SELECT RDB$RELATION_NAME AS TABLE_NAME FROM RDB$RELATIONS ", cn); DataTable dt = new DataTable(); fba.Fill(dt); // dataGridView1.DataSource=dt; listBox1.DataSource = dt; listBox1.DisplayMember = "TABLE_NAME"; listBox1.ValueMember = "TABLE_NAME"; } FirebirdSql.Data.FirebirdClient-4.9.0.0.msi// c# 调用 Firebird-2.5.5.26952_0_Win32.exe// 做远程服务器
|
请发表评论