Torna al Thread

Private Sub DataList2_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles DataList2.ItemDataBound ' For Each item As DataListItem In DataList2.Items Dim item As DataListItem Dim b As Button = CType(item.FindControl("Button3"), Button) If (Not b Is Nothing) Then If b.CommandArgument = Session.Item("iddocente") Then b.Visible = True End If End If ' Next End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5