• 大小: 786KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-07-23
  • 语言: C#
  • 标签:

资源简介

此新闻发布系统 是一个从零到有开发的,并且有着全方位的对技术的介绍,其中用到的技术有怎么做需求分析,创建数据库表,C#,asp,jquery,css,vs2008等等的应用,介绍详细,是一个让人学以致用的系统。 里面包含三层架构的源代码,设计说明书,所用的SQL语句,应有尽有,非常齐全,供大家参考。

资源截图

代码片段和文件信息

/*
 * 创建人:孙博
 * 创建时间:2012/5/1 3:38:31
 * 说明:新闻类别表的业务类
 * 版权声明:孙博 连云港职业技术学院 信息工程学院
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DAL;
using Model;

namespace BLL
{
    public class CategoryManager
    {
        private CategoryDAO cdao = null;
        public CategoryManager()
        {
            cdao = new CategoryDAO();
        }

        #region 取出当前所有新闻分类
        /// 
        /// 取出当前所有新闻分类
        /// 

        /// 
        public DataTable SelectAll()
        {
            return cdao.SelectAll();
        } 
        #endregion

        /// 
        /// 增加类别
        /// 

        /// 类别名称
        /// 增加成功返回真,否则返回假
        public bool Insert(string caName)
        {
            return cdao.Insert(caName);
        }

        /// 
        /// 修改类别
        /// 

        /// 类别ID
        /// 类别名称
        /// 
        public bool Update(Category ca)
        {
            return cdao.Update(ca);
        }

        /// 
        /// 删除类别(连同其下的新闻及新闻评论一起删除)
        /// 

        /// 类别ID
        /// 
        public bool Delete(string id)
        {
            return cdao.Delete(id);
        }

        /// 
        /// 判断类别名称是否已经存在
        /// 

        /// 类别名称
        /// 
        public bool IsExists(string caName)
        {
            return cdao.IsExists(caName);
        }

        public bool IsExist(string name)
        {
            throw new NotImplementedException();
        }
    }
}

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

     文件       6144  2012-06-08 09:11  news\BLL\bin\Debug\BLL.dll

     文件      24064  2012-06-08 09:11  news\BLL\bin\Debug\BLL.pdb

     文件       9728  2012-06-08 08:45  news\BLL\bin\Debug\DAL.dll

     文件      30208  2012-06-08 08:45  news\BLL\bin\Debug\DAL.pdb

     文件       5632  2012-06-08 08:45  news\BLL\bin\Debug\Model.dll

     文件      22016  2012-06-08 08:45  news\BLL\bin\Debug\Model.pdb

     文件       2802  2012-06-04 10:37  news\BLL\BLL.csproj

     文件       2190  2012-06-08 09:11  news\BLL\CategoryManager.cs

     文件       1215  2012-05-18 12:01  news\BLL\CategroyManager.cs

     文件        155  2012-04-19 11:36  news\BLL\Class1.cs

     文件        148  2012-05-01 02:54  news\BLL\Class2.cs

     文件        148  2012-05-01 02:56  news\BLL\Class3.cs

     文件        176  2012-05-01 02:59  news\BLL\Class4.cs

     文件        176  2012-05-01 03:01  news\BLL\Class5.cs

     文件       1565  2012-05-01 04:15  news\BLL\CommentManager.cs

     文件        439  2012-06-04 11:25  news\BLL\LoginManager.cs

     文件       3294  2012-05-01 04:05  news\BLL\NewsManager.cs

     文件        684  2012-06-04 11:25  news\BLL\obj\Debug\BLL.csproj.FileListAbsolute.txt

     文件       6144  2012-06-08 09:11  news\BLL\obj\Debug\BLL.dll

     文件      24064  2012-06-08 09:11  news\BLL\obj\Debug\BLL.pdb

     文件       5629  2012-06-08 09:11  news\BLL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       5467  2012-06-08 08:45  news\BLL\obj\Debug\ResolveAssemblyReference.cache

     文件       1338  2012-04-19 11:36  news\BLL\Properties\AssemblyInfo.cs

     文件       9728  2012-06-08 08:45  news\DAL\bin\Debug\DAL.dll

     文件      30208  2012-06-08 08:45  news\DAL\bin\Debug\DAL.pdb

     文件       5632  2012-06-08 08:45  news\DAL\bin\Debug\Model.dll

     文件      22016  2012-06-08 08:45  news\DAL\bin\Debug\Model.pdb

     文件       3689  2012-04-29 23:45  news\DAL\CategoryDAO.cs

     文件       2580  2012-05-01 00:58  news\DAL\CommentDAO.cs

     文件       2671  2012-04-29 22:03  news\DAL\DAL.csproj

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

评论

共有 条评论