i'm doing a online hotel reservation project using asp.net Vb script now. but i'm facing problem that once the users has submitted their reservation form. how can i redirect the user to another page while the data can be inserted into my MS SQL database? hope somebody can help me here. is urgent. i need to submit toomolo.. thanks.

u can use

Response.redirect("page.aspx")
or
server.transfer("page.aspx")

thanks a lot, it works. but how i can make the information which inserted by the users to show in that page? hope u can help me.

Passing variables between pages can be done using Query Strings.

Response.Redirect("somepage.aspx?name=" & Me.TextBox1.Text)

The value of the user input in the TextBox1 of the page can be retrieved in the page you redirect to using-

Request.QueryString("name")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.