直接赋值不就可以了:dataGridView1.Rows[e.Index].Cells["状态"].Value="1";DataSet也要进行update
adapter是自己定义的啊。SqlAdapter类的对象。