單項(xiàng)選擇題控制窗體是否可見(jiàn),可以使用WindowsState屬性,以下是WindowsState屬性值的是()

A.Normal
B.Min
C.Max
D.以上都不是


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題關(guān)于數(shù)據(jù)庫(kù)連接字符串代碼正確的是()

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;";

2.單項(xiàng)選擇題關(guān)于SqlCommand命令對(duì)象編寫(xiě)正確的是()

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ì)象);

3.多項(xiàng)選擇題關(guān)于DataGridView控件的屬性描述正確的有()

A.Rows獲取總條數(shù)
B.DataSource 獲取數(shù)據(jù)源
C.Name 獲取控件的名稱
D.Columns 獲取總列的名稱

4.單項(xiàng)選擇題FormatException是()

A.算術(shù)異常
B.參數(shù)格式錯(cuò)誤異常
C.非法參數(shù)異常
D.數(shù)組下標(biāo)越界異常

5.單項(xiàng)選擇題try{//代碼塊1return 0;}catch(Exception e){//代碼塊2}finally{//代碼塊3}如果程序沒(méi)有捕捉到異常,上面代碼中的執(zhí)行結(jié)果是()

A.先執(zhí)行代碼塊3,后執(zhí)行return語(yǔ)句
B.程序報(bào)錯(cuò)
C.return0語(yǔ)句不執(zhí)行
D.先執(zhí)行return語(yǔ)句,后執(zhí)行代碼塊3