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 ));