I know it’s a simple question but I really can’t find anything on Google. Sorry if I’m not searching right.
I created 2 pages and in the first one I have a button.
What should I write in the C# code to change to redirect me on the second page?
I usually know my way around C# but I’m totally new in ASP.
I know it’s a simple question but I really can’t find anything on Google.
Share
Add the button onclick event handler.
In the event handler put:
Response.Redirect or Server.Transfer
Slightly more complicated, and probably not what you need a cross page post