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>");
     
       }

  • 相关阅读:
    局域网主机A向主机B发送ip数据报的过程
    用户使用浏览器访问万维网经历的步骤
    sql
    PMP:总概
    LINQ
    下拉框
    PMP:项目采购管理
    PMP:项目风险管理
    PMP:沟通管理。相关方管理
    PMP:项目资源管理
  • 原文地址:https://www.cnblogs.com/hhq80/p/656722.html
Copyright © 2011-2022 走看看