15-11-19, 02:53 PM
جرب هذا الكود :
PHP كود :
For Each dgvrow As DataGridViewRow In Dgv_Table.Rows
If dgvrow.IsNewRow Then Exit For
If dgvrow.Cells(0).Value = 0 Then
dgvrow.Cells(0).Style.BackColor = Color.Red
dgvrow.Cells(0).Style.ForeColor = Color.White
End If
Next
سبحان الله وبحمده سبحان الله العظيم و الحمد لله ولا اله الا الله والله اكبر
