Пример #1
0
    private void OpenJump(int Sgrade, int Sclass)
    {
        LearnSite.BLL.Room rm  = new LearnSite.BLL.Room();
        string             Cid = rm.IsRopenRcid(Sgrade, Sclass);

        if (string.IsNullOrEmpty(Cid))
        {
            Response.Redirect("~/Student/myinfo.aspx", false);//如果返回Cid为空
        }
        else
        {
            string myurl = "~/Student/showcourse.aspx?Cid=" + Cid;//快速模式为真,且返回Cid不为空
            Response.Redirect(myurl, true);
        }
    }