资源简介

MVC简单后台+数据库,已实现功能,左边固定菜单,右边数据处理,已实现增删查改,MvcPager分页

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace MouseStore
{
    // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    // 请访问 http://go.microsoft.com/?linkId=9394801

    public class MvcApplication : System.Web.HttpApplication
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }

        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);

            routes.MapRoute(
                “Default“ // 路由名称
                “{controller}/{action}/{id}“ // 带有参数的 URL
                new { controller = “Mouses“ action = “Index“ id = UrlParameter.Optional } // 参数默认值
            );

        }

        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-05-27 14:23  Data\
     文件     1048576  2015-05-27 14:40  Data\MousesLog_data.ldf
     文件     2359296  2015-05-27 14:40  Data\Mouses_data.mdf
     文件        5013  2012-12-26 16:19  Data\Mouses_data.sql
     目录           0  2015-05-27 14:31  mvcMouse\
     目录           0  2015-05-27 14:31  mvcMouse\Backup\
     目录           0  2015-05-27 14:31  mvcMouse\Backup\MouseStore\
     文件        3271  2012-12-23 15:02  mvcMouse\Backup\MouseStore.sln
     文件       71680  2012-12-25 20:30  mvcMouse\Backup\MouseStore.v11.suo
     目录           0  2015-05-27 14:31  mvcMouse\Backup\MouseStore\Content\
     目录           0  2015-05-27 14:31  mvcMouse\Backup\MouseStore\Content\images\
     文件        6538  2012-12-23 15:25  mvcMouse\Backup\MouseStore\Content\images\bg.png
     文件        2601  2012-12-23 16:15  mvcMouse\Backup\MouseStore\Content\images\btnCar.gif
     文件        1362  2012-12-23 16:15  mvcMouse\Backup\MouseStore\Content\images\Car.gif
     文件        1512  2012-12-23 16:15  mvcMouse\Backup\MouseStore\Content\images\JieSuan.gif
     文件        1376  2012-12-23 15:25  mvcMouse\Backup\MouseStore\Content\images\logo.gif
     目录           0  2015-05-27 14:31  mvcMouse\Backup\MouseStore\Content\images\Mimg\
     文件       26881  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10001.jpg
     文件       50953  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10002.jpg
     文件       12881  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10003.jpg
     文件       50453  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10004.jpg
     文件       32201  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10005.jpg
     文件       14336  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10006.jpg
     文件       10836  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10007.jpg
     文件       15601  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10008.jpg
     文件       30604  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10009.jpg
     文件       96183  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10010.jpg
     文件       39685  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10011.jpg
     文件      134381  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10012.jpg
     文件       47552  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10013.jpg
     文件       39718  2012-12-23 15:06  mvcMouse\Backup\MouseStore\Content\images\Mimg\10014.jpg
............此处省略572个文件信息

评论

共有 条评论