hi guys do u know how to go one page to one page to another
page plz tell me any of u know

Answer Posted / jyotshna rani mohakud

If u want ro go from one page to another page asp.net
provides twp ways
1.Response.redirect by which you can go to another page
2.Server.transfer,in this method you can go to another page

Difference is that in "Response.redirect" you can go to
different page with showing page name in url.
Bt in "server.transfer" with the same page you can go to
another page
Ex: suppose u have two page home.aspx,next.aspx
when u click a button in home.aspx,in respons.redirect
method to go next page,it will go next page and next.aspx
will come on the url.
Bt in When u click button to next page by server.transfer
definitely you will go to next.aspx bt in url same home.aspx
will appear.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways of preserving data on a Web Form in ASP.NET?

616


Explain exception filters?

585


What are the steps involved to fill a dataset?

550


What do you mean by authentication?

523


What are the events that happen when a client requests an asp.net page from iis server?

476






How is session id generated?

450


How is a session stored and maintained in asp.net?

524


What is ispostback method in asp.net?

550


By default, Web API sends HTTP response with which of the following status code for all uncaught exception?

965


What is application session?

500


What is a session government?

497


What do you understand from custom control?

603


What is routing in MVC?

589


What are the Types of chaching. How to implement caching

558


Define caching.

621