Torna al Thread

Private Sub DGV_FattureTemp_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DGV_FattureTemp.CellFormatting If txtTipoDocSel.Text = "" Then Exit Sub Dim NumRow As Integer = DGV_FattureTemp.CurrentCell.RowIndex If DGV_FattureTemp.Rows(NumRow).Cells(0).Value = True Then DGV_FattureTemp.Rows(NumRow).DefaultCellStyle.BackColor = Color.Yellow 'DGV_FattureTemp.Refresh() Else DGV_FattureTemp.Rows(NumRow).DefaultCellStyle.BackColor = Color.White End If End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5