hi guys ;
I have country column and I wanna check it for duplicate record
thank in advance .
Home / DeveloperSection / Forums / how to find duplicate values in devexpress gridview
hi guys ;
I have country column and I wanna check it for duplicate record
thank in advance .
Demir ACAR
10-Oct-2015I applied
how to use your's code on buton_click event .
Sunil Singh
10-Oct-2015To obtain an old cell's value, call the GridView.GetRowCellValue method in the GridView.CellValueChanging event handler:
[C#]Open in popup window
void gridView1_CellValueChanging(object sender, CellValueChangedEventArgs e) {
object value = gridView1.GetRowCellValue(e.RowHandle, e.Column);
}
[VB.NET]Open in popup window
Private Sub gridView1_CellValueChanging(ByVal sender As Object, ByVal e As CellValueChangedEventArgs)
Object value v = gridView1.GetRowCellValue(e.RowHandle, e.Column)
End Sub
A new value is available in the e.Value parameter.
Let me know if this solution meets your requirements.