• 大小: 1.6MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-24
  • 语言: C#
  • 标签: 源码  

资源简介

北京某驾校全站源码很好很全的源码 带CS文件

资源截图

代码片段和文件信息

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.Data.OleDb;
//该源码下载自www.51aspx.com(51aspx.com)
public partial class carPath : System.Web.UI.Page
{
    private string parID;
    protected void Page_Load(object sender EventArgs e)
    {
        if (!this.IsPostBack)
        {
            dataListBind();
            pageInfoBind();
        }
        gvw_pathStopBind();
    }
    private void pageInfoBind()
    {
        try
        {
            OleDbConnection con = DB.getConn();
            if (Request.QueryString[“id“] == null)
            {
                con.Open();
                OleDbCommand cmd = new OleDbCommand(“select top 1 ID from D_busPath order by ID“ con);
                OleDbDataReader sdr = cmd.ExecuteReader();
                if (sdr.Read())
                {
                    parID = sdr[“ID“].ToString();
                }
                con.Close();
            }
            else
            {
                parID = Request.QueryString[“id“].ToString();
            }
            con.Open();
            OleDbCommand cmd1 = new OleDbCommand(“select remark from D_busPath where ID=@ID“ con);
            cmd1.Parameters.Add(new OleDbParameter(“@ID“ parID));
            OleDbDataReader sdr1 = cmd1.ExecuteReader();
            if (sdr1.Read())
            {
                this.lb_remark.Text = sdr1[“remark“].ToString();
            }
            sdr1.Close();
            con.Close();
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message);
        }
    }
    private void dataListBind()
    {
        try
        {
            OleDbConnection con = DB.getConn();
            con.Open();
            OleDbDataAdapter sda = new OleDbDataAdapter(“select IDpathName from D_busPath order by ID“ con);
            DataSet ds = new DataSet();
            sda.Fill(ds “luxian“);
            this.DLluxian.DataSource = ds.Tables[“luxian“].DefaultView;
            this.DLluxian.DataKeyField = “ID“;
            this.DLluxian.DataBind();
            con.Close();
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message);
        }
    }
    private void gvw_pathStopBind()
    {
        try
        {   
            OleDbConnection con = DB.getConn();
            if (Request.QueryString[“id“] == null)
            {
                con.Open();
                OleDbCommand cmd = new OleDbCommand(“select top 1 ID from D_busPath order by ID“con);
                OleDbDataReader sdr = cmd.ExecuteReader();
                if (sdr.Read())
                {
                    parID = sdr[“ID“].ToString();
                }
                con.Close();
            }
 

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

     文件       2087  2007-12-05 17:40  51aspx源码必读.txt

     文件      14050  2007-12-05 17:44  carPath.aspx

     文件       4443  2007-12-04 17:38  carPath.aspx.cs

     文件       8835  2007-12-05 17:44  ceShi.aspx

     文件        406  2007-11-08 20:02  ceShi.aspx.cs

     文件        484  2007-12-04 17:29  footer.ascx

     文件        414  2007-11-16 15:31  footer.ascx.cs

     文件       4945  2007-07-18 09:38  from.gif

     文件       3972  2007-11-17 21:56  Header.ascx

     文件        414  2007-11-08 12:44  Header.ascx.cs

     文件      13712  2007-12-05 17:44  index.aspx

     文件       1803  2007-11-18 13:11  index.aspx.cs

     文件      13166  2007-12-05 17:44  LeaveWord.aspx

     文件       4612  2007-11-18 13:19  LeaveWord.aspx.cs

     文件        622  2007-11-18 14:52  Mystyle.css

     文件      17343  2007-12-05 17:44  Picture.aspx

     文件       2785  2007-11-11 12:42  Picture.aspx.cs

     文件      10192  2007-12-05 17:44  selectView.aspx

     文件       3236  2007-12-04 17:39  selectView.aspx.cs

     文件      17352  2007-12-05 17:44  sign.aspx

     文件       4820  2007-11-12 19:44  sign.aspx.cs

     文件      10687  2007-12-05 17:44  Tariff.aspx

     文件       1520  2007-11-18 13:11  Tariff.aspx.cs

     文件       1723  2007-11-18 14:43  Web.config

     文件       3044  2007-11-17 21:57  WebUserControl.ascx

     文件       3864  2007-11-08 16:40  WebUserControl.ascx.cs

     文件       8765  2007-12-05 17:44  zixun.aspx

     文件       1110  2007-11-13 13:57  zixun.aspx.cs

     文件        125  2007-03-27 14:33  最新Asp.Net源码下载.url

     文件       3683  2007-11-14 20:41  Admin\Admin_addadmin.aspx

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

评论

共有 条评论