Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用RowEditEnding事件,但是这段代码
RowEditEnding
DataRowView rowView = dataGrid1.SelectedValue as DataRowView; MessageBox.Show(Convert.ToString(rowView[7]));
退还我失去的价值,我怎样才能获得新的价值?
从你的活动中,这会带你去任何地方吗?
System.Data.DataRow modifiedRow = (e.Item as DataRowView).Row; MessageBox.Show(Convert.ToString(modifiedRow ));