zoukankan      html  css  js  c++  java
  • session访问

       ResinSession so=(ResinSession)Session["obj"];
        if ( so != null)
       {
        proxyid= so.proxyid;
       }
       else
       {
        Response.Redirect(Application["appPath"] + "logout.aspx");
       }

    =====
       Session["_masterYear"]=DropDownList1.SelectedItem.Value;
       Session["_masterMonth"]=DropDownList2.SelectedItem.Value;
    取得
       if(Session["_masterYear"]!=null)
       {
        string year=Session["_masterYear"].ToString();
        string month=Session["_masterMonth"].ToString();
        //Label3.Text=Session["_masterYear"].ToString()+Session["_masterMonth"].ToString();
        DataGrid1.DataSource =ProxyQuerySalesRPT.GetSalesDetails(nbbm,year,month,proxy);
        DataGrid1.DataBind();
       }
       else
       {
        Response.Write("<SCRIPT LANGUAGE=javascript> alert(\"当前页面的父面页已过期,请关闭当前窗口,并刷新父页面!\");</SCRIPT>");
     
       }

  • 相关阅读:
    poj 3071 Football (概率dp)
    CF1408G Clusterization Counting
    2-sat
    线段树优化建图
    SP5971 LCMSUM
    [NOI2020]命运
    SP19149 INS14H
    Atcoder ARC-068
    CF908G New Year and Original Order
    (四)、Fiddler打断点
  • 原文地址:https://www.cnblogs.com/hhq80/p/656722.html
Copyright © 2011-2022 走看看