找考题网-背景图
单项选择题

关于数据库连接字符串代码正确的是()

A.private static string DBConnectString ="server=.;database=FreshLiveDB;uid=sa;pwd=123;";
B.private static string DBConnectString ="server=.;database=FreshLiveDB;id=sa;pwd=123;";
C.private static string DBConnectString ="server=.;database=FreshLiveDB;id=sa;password=123;";
D.private static string DBConnectString ="server=.;database=FreshLiveDB;name=sa;pwd=123;";