Solved

Navigating to a new URL in C# code

Posted on 2007-11-30
1
2,604 Views
Last Modified: 2008-06-19
I have a form with a "save" button at the bottom. When the user clicks this button, I have some c# code which saves the form data to a database. But after the form is saved, I want to be able to navigate to a new web page. I know how to navigate to a new page with a link button, or inside of the ASP code, but I can't figure out how to do this from my c# routine.  I'd appreciate any help.

0
Comment
Question by:marcorenberg
1 Comment
 
LVL 14

Accepted Solution

by:
_Stilgar_ earned 100 total points
Comment Utility
This is not a classic ASP issue, it's a .net one. Anyway, it is something like Response.Redirect() too. Use IntelliSense to find out the exact syntax.

Stilgar.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now