I am making a form and at the end of the form there is a save btn that should save data into database and redirect the page the same page that the form is in. Well its not working.
simply speaking its just
Response.Redirect("samepage.aspx");
I know it should work, but all what i get is "Internet Explorer cannot display the webpage"
anyone knows whats going on here!!
anyway thanks for helping inadvance.
Jihad
0
Light Poster
Recommended Answers
Jump to Post??
Usually in ASP.NET you don't cross post to different pages like in the classic ASP days. With ASP.NET the form POSTS to itself by default. So you don't need a re-direct unless you need to go to a different aspx page or resource. In fact re-directing to the …
All 4 Replies
hollystyles
113
Veteran Poster
Jihad
0
Light Poster
hollystyles
113
Veteran Poster
johnny.g
0
Junior Poster in Training
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.