Torna al Thread

Private Sub DataGridView1_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting If Me.DataGridView1.Columns(6).Index = e.ColumnIndex AndAlso e.RowIndex >= 0 Then If Me.DataGridView1.Rows(e.RowIndex).Cells.Item(6).Value Is "1" Then e.Value = My.Resources.kuser Else e.Value = My.Resources.Login_Manager 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