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

资源简介

中国公交管理系统,是C#结业项目,含有源代码,提供资源共享

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DA;
using IEtery;

namespace BL
{
    public class AdvertisingTable
    {
        Database db = new Database();
        DataTable dt;

        public DataTable Serch()
        {
            dt = new DataTable();
            dt = db.StrchAdvertisingTable();
            return dt;
        }

        public DataTable Serch1()
        {
            dt = new DataTable();
            dt = db.StrchAdvertisingTable1();
            return dt;
        }

        public int InsertAdvertisingTable(IEtery.AdvertisingTable adver)
        {
            try
            {
                int or = db.InsertAdvertisingTable(adver);
                return or;
            }
            catch
            {
                return -1;
            }
        }
        public int SelectAdvertisingTable(IEtery.AdvertisingTable adver)
        {
            try
            {
             return  db.SelectAdvertisingTable(adver);
            }
            catch
            {
             return 0;
            }
            
        }
        //根据输入广告编号删除广告
        public bool DeleteGuangGaoId(IEtery.AdvertisingTable adver)
        {
            try
            {
              return  db.DeleteAdvertisingTable(adver);
                 
            }
            catch
            {
                return false;
            }
        }
        public DataTable SelectGuangGaoId(IEtery.AdvertisingTable adver)
        {
            try
            {
                dt = new DataTable();
                dt = db.SelectAdvertisingTableId(adver);
                return dt;            
            }
            catch
            {
                return null;
            }
        }
        public DataTable SelectGuangGaoName(IEtery.AdvertisingTable adver)
        {
            try
            {
                dt = new DataTable();
                dt = db.SelectAdvertisingTableName(adver);
                return dt;
            }
            catch
            {
                return null;
            }
        }
        /// 
        /// 根据广告编号查询注册时间
        /// 

        /// 
        /// 
        public DataSet SelectGuangGaoId1(IEtery.AdvertisingTable adver)
        {
            DataSet ds = new DataSet();
            ds=db.SerchAdvertisingTableGuangGaoId(adver);
            if(ds!=null)
            {
                return ds;
            }
            else
            {
                return  null   ;
            }        
        }

        /// 
        /// 根据广告编号查询期限
        /// 

        /// 
        /// 
        public DataSet SelectGuangGaoId2(IEtery.AdvertisingTable adver)
        {
            DataSet ds = new DataSet();
            ds = db

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

     文件       3922  2008-04-02 17:34  公交管理系统\公交项目\BL\AdvertisingTable.cs

     文件      20480  2008-04-02 17:49  公交管理系统\公交项目\BL\bin\Debug\BL.dll

     文件      40448  2008-04-02 17:49  公交管理系统\公交项目\BL\bin\Debug\BL.pdb

     文件      32768  2008-04-02 17:49  公交管理系统\公交项目\BL\bin\Debug\DA.dll

     文件      46592  2008-04-02 17:49  公交管理系统\公交项目\BL\bin\Debug\DA.pdb

     文件      20480  2008-04-02 17:49  公交管理系统\公交项目\BL\bin\Debug\IEtery.dll

     文件      44544  2008-04-02 17:49  公交管理系统\公交项目\BL\bin\Debug\IEtery.pdb

     文件       2642  2008-04-02 17:21  公交管理系统\公交项目\BL\BL.csproj

     文件        442  2008-03-31 20:50  公交管理系统\公交项目\BL\Closeall.cs

     文件       1516  2008-04-02 17:35  公交管理系统\公交项目\BL\InformationTable.cs

     文件        346  2008-03-28 00:37  公交管理系统\公交项目\BL\LineBl.cs

     文件        766  2008-04-02 04:15  公交管理系统\公交项目\BL\MyshituBl.cs

     文件        194  2008-06-25 19:16  公交管理系统\公交项目\BL\obj\BL.csproj.FileList.txt

     文件       2319  2008-05-22 21:52  公交管理系统\公交项目\BL\obj\BL.csproj.FileListAbsolute.txt

     文件      20480  2008-04-02 17:49  公交管理系统\公交项目\BL\obj\Debug\BL.dll

     文件      40448  2008-04-02 17:49  公交管理系统\公交项目\BL\obj\Debug\BL.pdb

     文件      16384  2008-04-02 14:10  公交管理系统\公交项目\BL\obj\Debug\Refactor\BL.dll

     文件       8562  2008-05-10 08:09  公交管理系统\公交项目\BL\obj\Debug\ResolveAssemblyReference.cache

     文件       1323  2007-03-17 15:06  公交管理系统\公交项目\BL\Properties\AssemblyInfo.cs

     文件       1312  2008-03-28 03:18  公交管理系统\公交项目\BL\StuffBl.cs

     文件        900  2008-04-02 00:24  公交管理系统\公交项目\BL\SuccessorBL.cs

     文件        620  2008-04-02 14:58  公交管理系统\公交项目\BL\UserBL.cs

     文件        825  2008-04-02 17:33  公交管理系统\公交项目\BL\WealthTable.cs

     文件      32768  2008-04-02 17:49  公交管理系统\公交项目\DA\bin\Debug\DA.dll

     文件      46592  2008-04-02 17:49  公交管理系统\公交项目\DA\bin\Debug\DA.pdb

     文件      20480  2008-04-02 17:49  公交管理系统\公交项目\DA\bin\Debug\IEtery.dll

     文件      44544  2008-04-02 17:49  公交管理系统\公交项目\DA\bin\Debug\IEtery.pdb

     文件        315  2008-03-28 01:30  公交管理系统\公交项目\DA\CloseAll.cs

     文件       2428  2008-04-02 17:21  公交管理系统\公交项目\DA\DA.csproj

     文件       8747  2008-04-02 17:33  公交管理系统\公交项目\DA\Database.cs

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

评论

共有 条评论