• 大小: 26.4MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-07
  • 语言: C#
  • 标签: mvc  

资源简介

asp.net mvc企业管理系统项目开发源码 mvc4+easyui+三层

资源截图

代码片段和文件信息

using Itcast.CMS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Itcast.CMS.BLL
{
   public class NewInfoService
    {
       DAL.NewInfoDal NewInfoDal = new DAL.NewInfoDal();
     /// 
     /// 获取分页数据
     /// 

     /// 当前页码值
     /// 每页显示的记录数
     /// 
       public List GetPageList(int pageIndexint pageSize)
       {
           int start = (pageIndex - 1) * pageSize + 1;
           int end = pageIndex * pageSize;
           List list = NewInfoDal.GetPageList(start end);
           return list;
       }
       /// 
       /// 获取总的页数
       /// 

       /// 
       /// 
       public int GetPageCount(int pageSize)
       {
           int recordCount = NewInfoDal.GetRecordCount();
          int pageCount=Convert.ToInt32(Math.Ceiling((double)recordCount / pageSize));
          return pageCount;
       }
       public NewInfo GetModel(int id)
       {
           return NewInfoDal.GetModel(id);
       }
       /// 
       /// 删除一条记录
       /// 

       /// 
       /// 
       public bool DeleteInfo(int id)
       {
           return NewInfoDal.DeleteInfo(id)>0;
       }
       public bool AddInfo(NewInfo newInfo)
       {
           return NewInfoDal.AddInfo(newInfo) > 0;
       }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-11-24 22:25  代码资料\
     文件         511  2014-11-24 22:24  代码资料\AjaxFormSubmit使用demo.txt
     目录           0  2014-11-18 20:13  代码资料\Itcast.CMS\
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Debug\
     文件        5120  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Debug\Itcast.CMS.BLL.dll
     文件       15872  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Debug\Itcast.CMS.BLL.pdb
     文件        9728  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Debug\Itcast.CMS.DAL.dll
     文件       22016  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Debug\Itcast.CMS.DAL.pdb
     文件        6144  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Debug\Itcast.CMS.Model.dll
     文件        7680  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Debug\Itcast.CMS.Model.pdb
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\bin\Release\
     文件        2905  2014-11-20 21:24  代码资料\Itcast.CMS\Itcast.CMS.BLL\Itcast.CMS.BLL.csproj
     文件        1662  2014-11-24 21:26  代码资料\Itcast.CMS\Itcast.CMS.BLL\NewInfoService.cs
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\
     文件        6701  2014-11-24 00:12  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件        2667  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\Itcast.CMS.BLL.csproj.FileListAbsolute.txt
     文件        8747  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\Itcast.CMS.BLL.csprojResolveAssemblyReference.cache
     文件        5120  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\Itcast.CMS.BLL.dll
     文件       15872  2014-11-24 22:14  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\Itcast.CMS.BLL.pdb
     文件           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\obj\Debug\TempPE\
     目录           0  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\Properties\
     文件        1348  2014-11-18 20:15  代码资料\Itcast.CMS\Itcast.CMS.BLL\Properties\AssemblyInfo.cs
     文件         442  2014-11-18 21:25  代码资料\Itcast.CMS\Itcast.CMS.BLL\UserInfoService.cs
     目录           0  2014-11-18 20:17  代码资料\Itcast.CMS\Itcast.CMS.Common\
     目录           0  2014-11-18 20:17  代码资料\Itcast.CMS\Itcast.CMS.Common\bin\
............此处省略2460个文件信息

评论

共有 条评论