Torna al Thread

Private Sub DataGridImmobili_CellFormatting(sender As Object, e As DataGridViewCellFormattingEventArgs) Handles DataGridImmobili.CellFormatting If e.ColumnIndex = -1 Or e.RowIndex = -1 Then Exit Sub If DataGridImmobili.Columns(e.ColumnIndex).Name = "Foto" Then e.Value = Image.FromFile(Application.StartupPath & "\showDetail.gif") End If End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5