• 大小: 47.41M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-05
  • 语言: C#
  • 标签: 其他  

资源简介

ASP.NETMVC5kjjm_jb51.rar

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApp
{
    public partial class Default : System.Web.UI.Page IEmployeeView
    {
        public EmployeePresenter Presenter { get; private set; }
        public event EventHandler DepartmentSelected;

        public Default()
        {
            this.Presenter = new EmployeePresenter(this);
        }

        protected void Page_Load(object sender EventArgs e)
        {
            if (!this.IsPostBack)
            {
                this.Presenter.Initialize();
            }
        }

        protected void ButtonSearch_Click(object sender EventArgs e)
        {
            string department = this.DropDownListDepartments.SelectedValue;
            DepartmentSelectedEventArgs eventArgs = new DepartmentSelectedEventArgs(department);
            if (null != DepartmentSelected)
            {
                DepartmentSelected(this eventArgs);
            }
        }

        public void BindEmployees(IEnumerable employees)
        {
            this.GridViewEmployees.DataSource = employees;
            this.GridViewEmployees.DataBind();
        }


        public void BindDepartments(IEnumerable departments)
        {
            this.DropDownListDepartments.DataSource = departments;
            this.DropDownListDepartments.DataBind();
        }
    }
}

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

     文件   28717775  2016-04-13 21:12  ASP.NET  MVC  5  框架揭秘\ASP.NET  MVC  5  框架揭秘.pdf

     文件     120502  2014-02-28 14:25  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Content\bootstrap.css

     文件         53  2014-02-28 15:01  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Content\site.css

     文件       1431  2014-02-28 15:00  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Default.aspx

     文件       1529  2014-02-28 16:44  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Default.aspx.cs

     文件       1814  2014-02-28 14:27  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Default.aspx.designer.cs

     文件        375  2014-02-28 14:26  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\DepartmentSelectedEventArgs.cs

     文件        723  2014-02-28 14:26  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Employee.cs

     文件       1157  2014-02-28 16:44  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\EmployeePresenter.cs

     文件        934  2014-02-28 14:26  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\EmployeeRepository.cs

     文件        369  2014-02-28 16:44  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\IEmployeeView.cs

     文件       1383  2014-02-28 14:24  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Properties\AssemblyInfo.cs

     文件        353  2014-02-28 14:24  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Web.config

     文件       1299  2014-02-28 14:24  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Web.Debug.config

     文件       1360  2014-02-28 14:24  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\Web.Release.config

     文件       5468  2014-05-03 10:33  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\WebApp.csproj

     文件       1086  2014-05-03 10:33  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp\WebApp.csproj.user

     文件        987  2014-02-28 14:24  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp.sln

    ..A..H.     34816  2014-05-03 10:34  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S101\WebApp.v12.suo

     文件       2588  2014-05-03 10:36  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\ActionExecutor.cs

     文件        245  2014-02-28 17:31  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\ActionResult.cs

     文件       1208  2014-05-03 10:36  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\ControllerActionInvoker.cs

     文件        770  2014-05-03 10:36  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\Controllerbase.cs

     文件        676  2014-02-28 17:31  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\ControllerBuilder.cs

     文件        285  2014-02-28 17:31  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\ControllerContext.cs

     文件       1186  2014-05-03 10:36  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\DefaultControllerFactory.cs

     文件       3631  2014-05-03 10:36  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\DefaultModelBinder.cs

     文件        254  2014-02-28 17:31  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\IActionInvoker.cs

     文件        221  2014-02-28 17:31  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\IController.cs

     文件        269  2014-02-28 17:31  ASP.NET  MVC  5  框架揭秘\ASP.NET MVC 5 框架揭秘源码\Chapter 01\S102\WebApp\framework\IControllerFactory.cs

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

评论

共有 条评论