ASP.NET Page Location

zhaozj2021-02-16  131

I have to write here, it is entirely on the basis of my rookie, if you see it simple, please don't complain. If you find an error, I will be humiliated you. If you want to make friends ... often come to my blog seat. QQ: 94768815

--Ein Fisch

What I have to say is what I am studying these two days is a little common sense about the page positioning in ASP.NET. The page positioning is that some controls issued an event, and the server appears corresponding to the page that the user needs to arrive. The most common is HyperLink, other thanks, the comprehensive evaluation of *** is often seen in www.zol.com.cn, requires multiple page classification display. Compared with the side, our 9CBS. When you enter the community, you will find that when you choose a column, the browser will go to the corresponding web page! That is to say, after the server responds, the conversion of the browsing position is made, called the orientation. If you have previously have a display object, then it is called redirection at this time.

As we all know, any event response is in the "Script> ... among the ASP , and the orientation is not exception. Here we give a simplest example, click the button to complete the orientation.

First, complete the addition of a button object:

Use C # in the script, fill in the following: