Hi
I have two asp.net pages. I have to send information or parameter from one page to another page.
I have assigned the postbackurl in a button. and another page I have used the code in page load event
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Dim txt As TextBox = CType(PreviousPage.FindControl("txtSearch"), TextBox)
Me.lblCode.Text = String.Format(txt.Text)
End If
End Sub
txtsearch is the control of first page. Once click the butto, the following error. Pls help me
Object reference not set to an instance of an object.
Go to the complete details ...