IDE : Microsoft Visual Studio Professional 2012
Microsoft .NET Framework 4.5.51209
DeploymentTool : DevExpress 14.1
Form : WinForm
The GetChanges method is used to produce a second DataSet object that contains only the changes introduced into the original.
Use the rowStates argument to specify the type of changes the new object should include.
gridView1.GetFocusedDataRow().EndEdit(); DataTable changes = ((DataView)gridView1.DataSource).Table; if (changes.GetChanges(DataRowState.Modified) == null) { MessageBox.Show("Table 변경된 정보가 없습니다."); return false; } if (changes.GetChanges(DataRowState.Modified).Rows[0] == null) { MessageBox.Show("Rows[0] 변경된 정보가 없습니다."); return false; }
Today.
If you would be loved, love and be lovable.
(사랑 받고 싶다면 사랑하라, 그리고 사랑스럽게 행동하라.)
댓글 없음:
댓글 쓰기