• 大小: 2.93MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-30
  • 语言: C#
  • 标签: C#  Vs  Sql  Server  

资源简介

详细的代码 论文详细 字数12900,42页

资源截图

代码片段和文件信息

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using System.Timers;
using System.Threading;
using JXCBLL;
using JXCMODEL;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender EventArgs e)
    {
        
        if (Session[“ywy“] != null)
        {
            
            Ywy ywy = (Ywy)Session[“ywy“];
            IList js_qxs = new List();
            js_qxs = Js_qxManager.getJs_qxsByJsbh(ywy.Jsbh);
            int urlid = Convert.ToInt32(Request.QueryString[“urlid“]);
            if (urlid != 0)
            {
                if (js_qxs.Count > 0)
                {
                    for (int i = 0; i < js_qxs.Count; i++)
                    {
                        Js_qx js_qx = (Js_qx)js_qxs[i];
                        if (js_qx.Qxbh == urlid)
                            Response.Redirect(QxManager.getQxByQxbh(urlid).Qxurl true);
                    }
                }
                else
                {
                    return;
                }
            }
            if(urlid == 88)
            {
                HttpCookie cookie = Request.Cookies[FormsAuthentication.FormsCookieName];
                if (cookie != null)
                {
                    FormsAuthentication.SignOut();
                }
                Request.Cookies.Clear();
                HttpContext.Current.Response.Cookies[FormsAuthentication.FormsCookieName].Value = null;
                HttpContext.Current.Response.Cookies[FormsAuthentication.FormsCookieName].Expires = DateTime.Now.AddYears(-100);//为什么是-100
                HttpContext.Current.Session.Abandon();
                Response.Redirect(“/JXC/JCXX/JCXX_DL.aspx“ true);
            }
        }
        else
        {
            Response.Redirect(“/JXC/JCXX/JCXX_DL.aspx“);
        }
     
     }
    
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      28672  2009-06-09 13:23  JXC\Bin\JXCBLL.dll

     文件      85504  2009-06-09 13:23  JXC\Bin\JXCBLL.pdb

     文件      65536  2009-06-09 13:23  JXC\Bin\JXCDAL.dll

     文件     120320  2009-06-09 13:23  JXC\Bin\JXCDAL.pdb

     文件      28672  2009-05-12 16:30  JXC\Bin\JXCMODEL.dll

     文件      99840  2009-05-12 16:30  JXC\Bin\JXCMODEL.pdb

     文件    3145728  2009-06-09 13:42  JXC\DB_51aspx\JXC.mdf

     文件    1048576  2009-06-09 13:42  JXC\DB_51aspx\JXC_log.ldf

     文件       1344  2009-05-13 16:21  JXC\Default.aspx

     文件       2168  2009-05-13 16:23  JXC\Default.aspx.cs

     文件      18176  2009-04-01 13:15  JXC\images\bg.jpg

     文件     315314  2009-05-13 16:00  JXC\images\df.jpg

     文件      19838  2009-04-01 17:47  JXC\images\dh.jpg

     文件      20179  2009-04-01 18:01  JXC\images\dhs.jpg

     文件      20544  2009-04-01 18:01  JXC\images\dhx.jpg

     文件      39756  2009-04-01 16:18  JXC\images\icp.jpg

     文件      45316  2009-04-01 13:43  JXC\images\logo.jpg

     文件      29621  2007-07-28 13:25  JXC\images\My97DatePicker\calendar.js

     文件        629  2007-07-28 13:25  JXC\images\My97DatePicker\config.js

     文件        345  2007-07-28 13:25  JXC\images\My97DatePicker\lang\en.js

    ..A.S..       163  2007-09-18 09:06  JXC\images\My97DatePicker\lang\vssver2.scc

     文件        579  2007-07-28 13:25  JXC\images\My97DatePicker\lang\zh-cn.js

     文件        579  2007-07-28 13:25  JXC\images\My97DatePicker\lang\zh-tw.js

     文件       1146  2007-07-28 13:25  JXC\images\My97DatePicker\My97DatePicker.htm

     文件       1043  2007-07-28 13:25  JXC\images\My97DatePicker\skin\datePicker.gif

     文件       3086  2007-07-28 13:25  JXC\images\My97DatePicker\skin\default\datepicker.css

     文件        381  2007-07-28 13:25  JXC\images\My97DatePicker\skin\default\down.jpg

     文件         65  2007-07-28 13:25  JXC\images\My97DatePicker\skin\default\left.gif

     文件         71  2007-07-28 13:25  JXC\images\My97DatePicker\skin\default\navLeft.gif

     文件         71  2007-07-28 13:25  JXC\images\My97DatePicker\skin\default\navRight.gif

............此处省略195个文件信息

评论

共有 条评论