ITPub博客

首页 > 数据库 > SQL Server > 連接SQL Server

連接SQL Server

原创 SQL Server 作者:Linda1980 时间:2010-11-10 14:10:49 0 删除 编辑

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@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7718881/viewspace-1041273/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-04-07

  • 博文量
    29
  • 访问量
    257406