C# 页面跳转 点击确认后 传值

        int id =10;
        int code=1026;
        string name = "head";
        Response.Redirect("");

页面跳转 确定 传值

Response.Write(“< script language=javascript>alert(‘恭喜您,注册成功!’)< /script>”);
Response.Write(“< script language=javascript>window.location.href=’main.html’< /script>”);
页面提示后,跳转

你可能感兴趣的:(C#)