Torna al Thread

Protected Sub DataGrid1_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.ItemCommand if e.CommandName = "REDIR" Then Response.Redirect("Pagina.aspx?id=" & Directcast(e.Item.Cells(1).FindControl("nomecontrollo"),Label).text) End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5