单项选择题

WinForms窗体的后缀名是()

A.cs
B.aspx
C.form
D.xml

<上一题 目录 下一题>
热门 试题

多项选择题
.Net Framework 数据提供程序包含的对象有()

A.Connection
B.Command
C.DataReader
D.Data

多项选择题
要使用适配器对象获取MyTable 表中所有数据,假设con 是可用的连接对象,则正确的方式为()

A.SqlDataAdapter da =SqlDataAdapter("SELECT *FROM MyTable",con);DataSet ds =new DataSet();da.Fill(ds);
B.SqlCommand cmd =new ("SELECT *FROM MyTable",con);SqlDataAdapter da =SqlDataAdapter(cmd);DataSet ds =new DataSet();da.Fill(ds);
C.SqlCommand cmd =new ("SELECT *FROM MyTable",con);SqlDataAdapter da =SqlDataAdapter(cmd);DataSet ds =new DataSet();da.Fill(ds,"MyTable");
D.SqlDataAdapter da =SqlDataAdapter("SELECT *FROM MyTable",con);DataSet ds =new DataSet();da.Fill(ds.Tables["MyTable"]);

相关试题
  • 在WinForm窗体中,列表框(LisBox)控件的...
  • 在WinForm窗体中,可以存储多张图像资源的...
  • 在WinForm窗体中,ComboBox有三种下拉样式...
  • 在WinForms中,已知在一个叫imgListBook的I...
  • 在WinForms高级控件中,使用工具条控件可以...