Hello,
I have a page called Master.aspx that accepts user input, passes it to a database, and bring up records based on that input. It then puts the records into a dataset with a select button. Choosing the select button takes the users to another page called Detail.aspx. It give more info on that one record.
I have included a 'BACK' button on the Detail.aspx page:
Private Sub btnBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBack.Click
Response.Redirect("Master.aspx")
End Sub
It brings me back - but the datagrid is not empty along with the textbox with the user input.
However, if I just use the back button - all the data is there. I want to use the back button I created.
Suggestions?
Thanks,
Tmuld.
I have a page called Master.aspx that accepts user input, passes it to a database, and bring up records based on that input. It then puts the records into a dataset with a select button. Choosing the select button takes the users to another page called Detail.aspx. It give more info on that one record.
I have included a 'BACK' button on the Detail.aspx page:
Private Sub btnBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBack.Click
Response.Redirect("Master.aspx")
End Sub
It brings me back - but the datagrid is not empty along with the textbox with the user input.
However, if I just use the back button - all the data is there. I want to use the back button I created.
Suggestions?
Thanks,
Tmuld.