2016年5月12日

在Chrome+Visual Studio中调试asp.net程序很慢的问题(Firefox也有类似问题)

摘要: 在Chrome+Visual Studio中调试asp.net程序很慢的问题(Firefox也有类似问题) 今天开始起在Chrome中调试,发现问题主要出在菜单栏(layout文件)中,google了一番,查到很多原因,不过最终解决方法倒是很简单,特此分享一下: 在C:/Windows/System 阅读全文

posted @ 2016-05-12 18:54 数迹 阅读(1075) 评论(0) 推荐(0) 编辑

2016年5月1日

用Join子句进行分组联接

摘要: 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-05-01 10:46 数迹 阅读(365) 评论(0) 推荐(0) 编辑

2016年4月29日

子句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 数迹 阅读(137) 评论(0) 推荐(0) 编辑

linq group by子句

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

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

2016年4月28日

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 数迹 阅读(981) 评论(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 数迹 阅读(147) 评论(0) 推荐(0) 编辑

2016年4月26日

数迹学——Asp.Net MVC4入门指南(5):从控制器访问数据模型

摘要: MovieController中的方法Index()代码,初认识,应该有很多理解错误的地方,暂时这么记忆吧,待随后修改 Index()代码: 知识点: (1)@model IEnumerable<MVCMovie.Models.Movie> 项目名. 空间名. 类名 IEnumerable<T>接口 阅读全文

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

2016年4月25日

数迹学——Asp.Net MVC4入门指南(4):添加一个模型

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

posted @ 2016-04-25 16:04 数迹 阅读(105) 评论(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 数迹 阅读(142) 评论(0) 推荐(0) 编辑

数迹学——Asp.Net MVC4入门指南(2):添加一个控制器

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

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

导航