連接SQL Server

来源:这里教程网 时间:2026-03-02 10:06:21 作者:

function TPDMSSQLContext.ConnectionString: string;

begin

Result := 'Provider=SQLOLEDB;Password=' + FPassword + ';Persist Security Info=True;' + 'User ID=' + FUserName + ';Initial Catalog=' + FDatabase + ';Data Source=' + FServer;

end;

[@more@]

相关推荐