Z
zhongjun762
Unregistered / Unconfirmed
GUEST, unregistred user!
S:= 'Provider=SQLOLEDB.1;Password=%s;Persist Security Info=True;User ID=%s;Initial Catalog=%s;Network Address=%s;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column collation when possible=False';<br> ADOConnection1.ConnectionString := Format(S, ['', 'Administrator', 'yzdate', '192.168.11.109']);//[密码, SQL SERVER 用户名称, 数据库名称, IP(本地的)]运行后出现问题....用户'Administrator'登入失败,原因:末与信任SQL server连接相关联<br>请问大虾出现了什么问题?使用双击ADOConnection组件连接本地数据库又是可以的....