Con2 = new SqlConnection();
Con2.ConnectionString = global::DBTEST.Properties.Settings.Default.awDB;
Cmd2 = Con2.CreateCommand();
Apt2 = new SqlDataAdapter(Cmd2);
DataTable dt = new DataTable();
Con2.Open();
Cmd2.CommandText = "select * from Product";
Apt2.Fill(dt);
Con2.Close();
dgv.DataSource = dt;
执行时出错,提示Product对象名无效,我是用VS2010的数据》添加数据源,添加的,可是在数据库文件中明明存在表Product