码迷,mamicode.com
首页 >  
搜索关键字:linq to objects    ( 10076个结果
MVC3/4 自定义HtmlHelper截断文本内容(截取)
在MVC目录下新建一个名为Extersions 的文件夹,在该文件夹中新建一个截断文本类,取名为:CutOfTextExtersions该类代码如下:using System;using System.Collections.Generic;using System.Linq;using Syste...
分类:Web程序   时间:2014-06-29 13:35:39    阅读次数:201
Asp.Net MVC4开发二: Entity Framework在Asp.Net MVC4中的应用
ORM作为一种数据库访问机制已广泛地应用于各种项目当中,在.Net开发中,应用比较广泛的ORM框架大致有下面几个: 官方支持的有:Linq to SQL,Entity Framework。三方的有:NHibernate。前面介绍过Linq to SQL的应用,这篇介绍一下Entity Framework在Asp.Net MVC4中的应用。 首先用Visual Studio(2012或2...
分类:Web程序   时间:2014-06-20 12:01:44    阅读次数:361
可以导入导出到Excel支持多表头多层显示的表格控件Essential Grid
Essential Grid for Windows Forms是一款功能强大的表格控件,很多功能和Excel表格相似,具有15种单元格类型,可以导入导出到Excel,支持多表头,多层显示,合并单元格,插入计算公式,支持LINQ,过滤和分组等。具体功能:支持Banner Cells,可以联合背景和邻...
分类:其他好文   时间:2014-06-07 09:42:31    阅读次数:338
Entity Framework Code First 常用方法集成
using System;using System.Collections.Generic;using System.Data.Entity;using System.Linq;using System.Linq.Expressions;using System.Text;using SnsDB;u...
分类:其他好文   时间:2014-06-06 21:45:06    阅读次数:384
C# List.ForEach 方法
C#中List.ForEach 方法是对 List 的每个元素执行指定操作。 示例:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading....
分类:其他好文   时间:2014-06-06 08:29:39    阅读次数:470
日志记录到txt文件
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;n...
分类:其他好文   时间:2014-06-06 07:34:37    阅读次数:311
.NET环境下,通过LINQ操作SQLite数据库
//对应数据库中的某个表 [Table(Name = "main.Student")] public class Student { [Column(Name = "StuName", DbType = "varchar(50)")] public string StuName { get; set...
分类:数据库   时间:2014-06-06 07:34:05    阅读次数:413
LEETCODE Sort Colors
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:其他好文   时间:2014-06-05 17:49:43    阅读次数:304
zTree v3.5配置
页面 一般处理程序using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace Web...
分类:其他好文   时间:2014-06-05 17:43:59    阅读次数:286
面向对象多态之接口
申明下:我也是新手,以下如有不对或不合适的地方望指出,一起交流O(∩_∩)O哈!好了,转入正题 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 nam....
分类:其他好文   时间:2014-06-05 16:48:19    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!