Q qgb999 Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-11 #1 目的:1通过在EDIT控件中输入数据库名来查询 2通过在EDIT控件中输入服务器名来查询 谢谢!
A antic_ant Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-11 #3 通过ado来连接 动态修改adoconnectionstring来你的两个目的
A antic_ant Unregistered / Unconfirmed GUEST, unregistred user! 2001-11-11 #5 DataModule1.adocntion.ConnectionString:='Provider=Microsoft.Jet.OLEDB.3.51;' + 'Persist Security Info=False;' + 'Data Source=' + ExtractFilePath(Application.ExeName) + '/agritax.mdb;' + 'Jet OLEDBatabase Password=agriculture;'; 这只是连Access数据库
DataModule1.adocntion.ConnectionString:='Provider=Microsoft.Jet.OLEDB.3.51;' + 'Persist Security Info=False;' + 'Data Source=' + ExtractFilePath(Application.ExeName) + '/agritax.mdb;' + 'Jet OLEDBatabase Password=agriculture;'; 这只是连Access数据库