26-04-13, 01:04 AM
If Table_firstDataGridView.CurrentCell.ColumnIndex = 0 Then
If Table_firstDataGridView.IsCurrentCellDirty Then
if e.FormattedValue= true then
Table_firstDataGridView.CurrentRow.Cells(0).Style.BackColor = Color.Red
End If
End If
حيث ان الصفر يعبر ان اول خلية من على اليسار ... ارجو ان اكون قد افدتك
هذا تكتبه تحت حدث cellvalidating الخاص بالداتا جريد فيو
If Table_firstDataGridView.IsCurrentCellDirty Then
if e.FormattedValue= true then
Table_firstDataGridView.CurrentRow.Cells(0).Style.BackColor = Color.Red
End If
End If
حيث ان الصفر يعبر ان اول خلية من على اليسار ... ارجو ان اكون قد افدتك
هذا تكتبه تحت حدث cellvalidating الخاص بالداتا جريد فيو
