110,571
社区成员
发帖
与我相关
我的任务
分享
sqlcon.Open();
//用SqlCommandBuilder自动为SqlDataAdapter生成Insert、Update、Delete命令
SqlCommandBuilder cb = new SqlCommandBuilder(sda);
sda.Update(ds);
dataGridView1.Update();
MessageBox.Show("保存成功!");
sqlcon.Close();