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語句,Connection對象);
B.SqlCommand cmm =new SqlCommand(Connection對象,sql語句);
C.SqlCommand cmm =new SqlCommand(sql語句);
D.SqlCommand cmm =new SqlCommand(Connection對象);
A.Rows獲取總條數(shù)
B.DataSource 獲取數(shù)據(jù)源
C.Name 獲取控件的名稱
D.Columns 獲取總列的名稱

最新試題
在C#中,定義命名空間的關(guān)鍵字是()
在ADO.NET中,DataReader對象用于從數(shù)據(jù)庫中檢索只讀的數(shù)據(jù),使用()語句可以創(chuàng)建一個DataReader對象。
在WinForm窗體中,可以存儲多張圖像資源的控件是()
在C#中,使用()關(guān)鍵字來導(dǎo)入命名空間。
在WinForms中,已知在一個叫imgListBook的ImageList控件中有一張圖片,為了設(shè)置一個名為picBook的PictureBox控件的Image屬性,下列代碼正確的是()