Torna al Thread

If ViewOPERAZIONIDataGridView.Columns(e.ColumnIndex).Name = "DataGridViewCheckBoxColumn1" Then If (e.Value) = False Then e.CellStyle.BackColor = Color.Orange Else e.CellStyle.ForeColor = ViewOPERAZIONIDataGridView.DefaultCellStyle.BackColor End If End If If ViewOPERAZIONIDataGridView.Columns(e.ColumnIndex).Name = "DataGridViewTextBoxColumn4" Then If (e.Value) > DateTime.Today() Then e.CellStyle.ForeColor = Color.Orange Else e.CellStyle.ForeColor = ViewOPERAZIONIDataGridView.DefaultCellStyle.ForeColor End If End If End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5