为什么我的fill会出错呢?
代码如下
SqlConnection mycon=new SqlConnection("Initial Catalog=classtable;Data Source=localhost;Integrated Security=SSPI;");
SqlDataAdapter custDA = new SqlDataAdapter("SELECT ClassName FORM Class",mycon);
DataSet ds=new DataSet();
custDA.Fill(ds);
完了编译到custDA.Fill(ds)语句时就报错。改了半天没结果,请帮我看看究竟有什么问题,数据适配器究竟要怎么用呢?