04 2016 档案

子句jion
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 子句join { class Program { static void Main(string[] ... 阅读全文

posted @ 2016-04-29 16:05 数迹 阅读(139) 评论(0) 推荐(0) 编辑

linq group by子句
摘要:在上边代码运行时 执行结果为 可以看到item的类型为Person了 阅读全文

posted @ 2016-04-29 15:06 数迹 阅读(543) 评论(0) 推荐(0) 编辑

var关键字获取数据类型
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleApplication2{ class P 阅读全文

posted @ 2016-04-28 11:21 数迹 阅读(986) 评论(0) 推荐(0) 编辑

委托的理解
摘要:using System;using System.Collections.Generic;using System.Collections;using System.Linq;using System.Text;using System.Threading.Tasks; namespace Con 阅读全文

posted @ 2016-04-28 10:31 数迹 阅读(151) 评论(0) 推荐(0) 编辑

数迹学——Asp.Net MVC4入门指南(5):从控制器访问数据模型
摘要:MovieController中的方法Index()代码,初认识,应该有很多理解错误的地方,暂时这么记忆吧,待随后修改 Index()代码: 知识点: (1)@model IEnumerable<MVCMovie.Models.Movie> 项目名. 空间名. 类名 IEnumerable<T>接口 阅读全文

posted @ 2016-04-26 20:52 数迹 阅读(189) 评论(0) 推荐(0) 编辑

数迹学——Asp.Net MVC4入门指南(4):添加一个模型
摘要:一、添加模型类 二、添加MovieDBContext类,连接数据库 DbContext类继承自 System.Data.Entity; 负责在数据库中获取,存储,更新,处理实例 MovieDBContext类用来负责数据库中存取,存储,更新,处理实例 Movie实例:Movie类的一个对象,也就是数 阅读全文

posted @ 2016-04-25 16:04 数迹 阅读(107) 评论(0) 推荐(0) 编辑

数迹学——Asp.Net MVC4入门指南(3):添加一个视图
摘要:方法返回值 ActionResult(方法执行后的结果) 例子1 public ActionResult methordName() { return "string"; } 例子2 public ActionResult methordName() { return View(); } 例1中的方 阅读全文

posted @ 2016-04-25 12:29 数迹 阅读(145) 评论(0) 推荐(0) 编辑

数迹学——Asp.Net MVC4入门指南(2):添加一个控制器
摘要:自嘲一下。。。。。。万事还是得从官方的入门开始 由于找不到适合新新手的MVC入门实例所以回过头来做一下微软的 《Asp.Net MVC4入门指南》。 只有把自己放在太阳下暴晒,才知道自己有多菜! 新手心得,万一有被看到,请指正 一、Action方法的访问 (实质上就是调用某个Cotroller中的某 阅读全文

posted @ 2016-04-25 11:05 数迹 阅读(194) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示