Torna al Thread
Protected Sub gvSegnalazioni_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles gvSegnalazioni.RowDataBound
Dim img As New Image
If e.Row.RowType = DataControlRowType.DataRow Then
If e.Row.Cells(7).Text = "0" Then
img.ImageUrl = "Images/webno.png"
img.ToolTip = "Non online"
Else
img.ImageUrl = "Images/webyes.png"
img.ToolTip = "Online"
End If
e.Row.Cells(5).Controls.Add(img)
End If
End Sub