C# 如何使用Asp.net将一个应用程序重定向到另一个应用程序?

C# 如何使用Asp.net将一个应用程序重定向到另一个应用程序?,c#,asp.net,redirect,C#,Asp.net,Redirect,我有两个Asp.net应用程序,第一个应用程序aspx页面有Iframe,当页面加载重定向另一个应用程序aspx页面(基于iss中的端口位置)时,Iframe bellow页面有link按钮,当我必须单击该按钮重定向第一个应用程序(主应用程序)时但是现在在iframe中显示第一个应用程序页面,如何重定向主应用程序 Code ------------ (82) Main Application:(first)(192.***.*.***:82/Rate.aspx)-->

我有两个Asp.net应用程序,第一个应用程序aspx页面有Iframe,当页面加载重定向另一个应用程序aspx页面(基于iss中的端口位置)时,Iframe bellow页面有link按钮,当我必须单击该按钮重定向第一个应用程序(主应用程序)时但是现在在iframe中显示第一个应用程序页面,如何重定向主应用程序

    Code
    ------------
   (82) Main Application:(first)(192.***.*.***:82/Rate.aspx)-->This Application have Two pages Rate.aspx, Default.aspx.
    -----------------
 Click -->  (82) Rate.aspx:(have one Iframe)

Page Load() method to load the another application Default.aspx page like    
     ifrm.Attributes["src"] ="http://192.***.*.***:83/default.aspx";

  Second Appliction --> (83) Default page : have one button , button click  event fired to redirect Main Application (82) default page have to display. code
    -----------------
    protected void lblWWPremiumRate_Click(object sender, EventArgs e)
            {
                Response.Redirect("http://192.***.*.***:82/default.aspx");         

            }

你能详细解释一下吗?您正在尝试从另一个iframe重定向一个iframe吗?不只是一个iframe,重定向到另一个页面。请查看更改使您的代码更具可读性。