• 大小: 4.68MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-13
  • 语言: C#
  • 标签: asp.net  三层  网站  

资源简介

asp.net三层开发的完整茶叶网站,写的很简易,带有后台,有登陆,产品,新增等增删改查,适合刚刚学习asp.net的人参考

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tea.DAL;
using Tea.Model;
using ServerControl;
using System.Data.SqlClient;

namespace Tea.BLL
{
   public class ArticleManager
    {
       public bool AddArticle(Article article)
       {
           ArticleService ns = new ArticleService();
          return ns.AddArticle(article);
       }
       public static List
 GetNewsByarticleTypeId(DefaultUrlManager manager) 
       {
           manager.TableName = “Articles“;
           manager.PrimaryKey = “Id“;
           manager.RecordCount = ArticleService.GetNewsCount(manager);
           return ArticleService.GetNewsByarticleTypeId(manager);
       }
       public static void DelArticleByIdAndAuthorId(int id) 
       {
            ArticleService.DelArticleByIdAndAuthorId(id);
       }
       public static void UpdataArticle(Article article) 
       {
           ArticleService.UpdataArticle(article);

       }
       public static List
 GetArticleBySql(string sqlSqlParameter[] para)
       {
           return ArticleService.GetArticleBySql(sqlpara);
       }
       public static List
 GetArticle(int articleTypeId)
       {
           return ArticleService.GetArticle(articleTypeId);
       }
       public static Article GetArticleById(int id)
       {
           return ArticleService.GetArticleById(id);
       }
       public static List
 GetArticleForCompany(int articleTypeId)
       {
           return ArticleService.GetArticleForCompany(articleTypeId);
       }
       public static List
 GetArticleForFive(int articleTypeId)
       {
           return ArticleService.GetArticleForFive(articleTypeId);
       }
       public static List
 GetArticleAll()
       {
           return ArticleService.GetArticleAll();
       }
    }
}

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

     文件    3145728  2009-11-28 17:23  TeaPr\db\tea.mdf

     文件    1048576  2009-11-28 17:23  TeaPr\db\tea_log.ldf

     文件       1908  2009-08-12 11:30  TeaPr\TeaBLL\ArticleManager.cs

     文件        487  2009-08-13 14:37  TeaPr\TeaBLL\ArticleTypeManager.cs

     文件      11264  2009-08-04 11:01  TeaPr\TeaBLL\bin\Debug\ServerControl.dll

     文件       8192  2009-11-28 14:51  TeaPr\TeaBLL\bin\Debug\TeaBLL.dll

     文件      32256  2009-11-28 14:51  TeaPr\TeaBLL\bin\Debug\TeaBLL.pdb

     文件      21504  2009-11-28 14:51  TeaPr\TeaBLL\bin\Debug\TeaDAL.dll

     文件      52736  2009-11-28 14:51  TeaPr\TeaBLL\bin\Debug\TeaDAL.pdb

     文件       8192  2009-08-05 09:03  TeaPr\TeaBLL\bin\Debug\TeaModel.dll

     文件      32256  2009-08-05 09:03  TeaPr\TeaBLL\bin\Debug\TeaModel.pdb

     文件       5632  2009-08-13 16:09  TeaPr\TeaBLL\obj\Debug\Refactor\TeaBLL.dll

     文件      18099  2009-11-28 14:51  TeaPr\TeaBLL\obj\Debug\ResolveAssemblyReference.cache

     文件       1914  2009-08-13 15:51  TeaPr\TeaBLL\obj\Debug\TeaBLL.csproj.FileListAbsolute.txt

     文件       8192  2009-11-28 14:51  TeaPr\TeaBLL\obj\Debug\TeaBLL.dll

     文件      32256  2009-11-28 14:51  TeaPr\TeaBLL\obj\Debug\TeaBLL.pdb

     文件       1348  2009-07-20 10:30  TeaPr\TeaBLL\Properties\AssemblyInfo.cs

     文件       1544  2009-08-13 15:51  TeaPr\TeaBLL\ProtutionManager.cs

     文件       1529  2009-08-13 17:13  TeaPr\TeaBLL\RemarkManager.cs

     文件       3328  2009-08-04 14:32  TeaPr\TeaBLL\TeaBLL.csproj

     文件       2198  2009-08-13 16:12  TeaPr\TeaBLL\UserManager.cs

     文件       7363  2009-11-28 16:00  TeaPr\TeaDAL\ArticleService.cs

     文件       1487  2009-08-13 14:26  TeaPr\TeaDAL\ArtlceTypeService.cs

     文件      11264  2009-08-04 11:01  TeaPr\TeaDAL\bin\Debug\ServerControl.dll

     文件      21504  2009-11-28 14:51  TeaPr\TeaDAL\bin\Debug\TeaDAL.dll

     文件      52736  2009-11-28 14:51  TeaPr\TeaDAL\bin\Debug\TeaDAL.pdb

     文件       8192  2009-08-05 09:03  TeaPr\TeaDAL\bin\Debug\TeaModel.dll

     文件      32256  2009-08-05 09:03  TeaPr\TeaDAL\bin\Debug\TeaModel.pdb

     文件       3331  2009-11-28 14:28  TeaPr\TeaDAL\DBHelper.cs

     文件       6144  2009-08-13 16:09  TeaPr\TeaDAL\obj\Debug\Refactor\TeaDAL.dll

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

评论

共有 条评论