单项选择题
控制窗体显示位置,可以使用Startposition属性,以下是Startposition属性值的是()
A.None
B.Top
C.Left
D.Manual
点击查看答案
相关考题
-
单项选择题
控制窗体是否可见,可以使用WindowsState属性,以下是WindowsState属性值的是()
A.Normal
B.Min
C.Max
D.以上都不是 -
单项选择题
关于数据库连接字符串代码正确的是()
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;"; -
单项选择题
关于SqlCommand命令对象编写正确的是()
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对象);
