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;";
您可能感興趣的試卷
你可能感興趣的試題
A.SqlCommand cmm =new SqlCommand(sql語(yǔ)句,Connection對(duì)象);
B.SqlCommand cmm =new SqlCommand(Connection對(duì)象,sql語(yǔ)句);
C.SqlCommand cmm =new SqlCommand(sql語(yǔ)句);
D.SqlCommand cmm =new SqlCommand(Connection對(duì)象);
A.Rows獲取總條數(shù)
B.DataSource 獲取數(shù)據(jù)源
C.Name 獲取控件的名稱(chēng)
D.Columns 獲取總列的名稱(chēng)

最新試題
在ADO.NET中,下列關(guān)于連接對(duì)象Connection的說(shuō)法錯(cuò)誤的是()
在Visual Studio集成開(kāi)發(fā)環(huán)境中有兩類(lèi)窗口,分別為浮動(dòng)窗口和固定窗口,下列不屬于浮動(dòng)窗口的是()
在c#窗體應(yīng)用程序中,Panel、GroupBox、TabControl等分組控件,有時(shí)候也被稱(chēng)之為()
在ADO.NET中,下列能夠提供與SQL Server數(shù)據(jù)庫(kù)連接的對(duì)象是()
在ADO.NET中,Command對(duì)象用于執(zhí)行SQL命令,如果需要得到多行多列的查詢(xún)結(jié)果,則需要使用該對(duì)象的()方法。