A.Enabled B.Visible C.CausesValidation D.AllowDrop
单项选择题文本框TextBox控件的数据验证代码一般写在()事件中。
A.Validated B.Validating C.DataBindings D.Disposed
单项选择题语句tabControl1.SelectedIndex=1;的作用是()。
A.选中第一个选项卡 B.选中第二个选项卡 C.使第一个选项卡可见 D.使第二个选项卡可见
单项选择题以下代表了TabControl控件的选项卡数目的属性是()。
A.TabPages B.TabCount C.Multiline D.TabIndex
判断题数据集中的数据与数据源中的数据总是完全相同的。
判断题SqlCommand对象的CommandText属性需要一个SQL语句或一个存储过程名。
判断题SqlConnection对象的连接字符串用来指明连接对象的数据服务器名、数据库名、数据用户名和用户口令。
判断题窗体的BindingContext.Position用于设置或获取当前绑定数据集中某个表的上下文的位置。
判断题数据集DataSet是通过数据适配器DataAdapter的Update()方法将数据源中某些特定数据填充到内存中的本地拷贝。
判断题数据集DataSet与数据源之间是离线访问方式,而数据读取器DataReader与数据源之间是连线访问方式。
单项选择题消息框MessageBox的Show方法的返回值是()类型。
A.DialogResult B.BorderStyle C.string D.int
单项选择题要将状态栏停靠在容器的顶部,需要将其Dock属性设置为()。
A.Top B.Bottom C.Fill D.None
单项选择题要设置主菜单某菜单项的快捷键,需要设置其()属性。
A.Shortcut B.ShowShortcut C.Checked D.RadioCheck
单项选择题要将通用对话框openFileDialog1显示出来,需调用其()方法。
A.Show B.ShowDialog C.OpenFile D.Display
单项选择题当鼠标在某工具按钮上停顿时欲显示提示信息,需要设置它的()属性。
A.Text B.ToolTipText C.ImageIndex D.Enabled
单项选择题要在一个控件上击右键弹出上下文菜单,需要利用控件的()事件。
A.Click B.KeyPress C.MouseDown D.MouseMove