我想问一下这个要用到datagridview哪个事件呀
DataGridview的RowPostPaint事件
事件中有e.RowIndex,C列的值这样的:
object obj= dataGridView1.Rows[e.RowIndex].Cells["c"].Value;
要更新TextBox中的值的时候立刻更新DataGridview的话,就要用TextBox的TextChanged事件,在事件中遍历DataGridview的行