使用 Windows 身份验证,可是登录名总是为 NULL,原来少写了 Integrated Security=SSPI。完整为:
Data Source=(local);Initial Catalog=db;Persist Security Info=True;Integrated Security=SSPI;
相关阅读
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com