calling another C# program

  • Thread starter Thread starter ace
  • Start date Start date
A

ace

Hi,

I've been googling and going thru a lot of the posts online and have
come up with nothing useful (in my opinion anyway) for my situation.

I am trying to call another C# program via the click event of the
submit button in one of my programs using the Response.Redirect();
function. This is not working. My code is below:

private void btnSubmit_Click(object sender, System.EventArgs e)
{
Response.Redirect("default.aspx");
}

where default.aspx and my calling program (home.aspx) are in the same
directory.

From all of the information that I have read online so far, this
should be all that I need for that statement to work, yet it does not.

Is there some setting that I need to check or some configuration file
that I need to edit?

Thanks for any help or suggestions,

Ace
 
Look up the HttpServerUtility.Execute Method in the .NET Framework
Class Library. You'll be using the Server.Execute method


--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
I tried the Server.Execute method and also tried the Server.Transfer
method, both of which did not work. Any other ideas or suggestions?
 
Back
Top