Torna al Thread

Protected Sub Gd_cred_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles Gd_cred.RowCommand If (e.CommandName = "Edit") Then Dim c As Control = CType(e.CommandSource, Control) Dim r As GridViewRow = CType(c.NamingContainer, GridViewRow) TextBox1.Text = r.Cells(1).Text TextBox2.Text = r.Cells(2).Text End If End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5