Amplio la información, bueno tengo este codigo
Protected Sub GridView1_RowCommand(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs )
If e.CommandName.ToString() = "Edit" Then
Dim trans As String = GridView1.SelectedRow.Cells(1).Text.ToString()
Response.Redirect("frmModificar.aspx?trn=" + trans)
End If
End Sub
y me da el siguiente error
An exception of type 'System.NullReferenceException' occurred in Indirectos.DLL but was not handled in user code
Additional information: Object reference not set to an instance of an object.
ayudenme.






Mode Lineal


