码迷,mamicode.com
首页 >  
搜索关键字:linq    ( 6890个结果
第 2 章 编写 C# 程序
2.1 Visual Studio 2005开发环境2.2 控制台应用程序 试试看:创建一个简单的控制台应用程序using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace C....
分类:其他好文   时间:2014-06-07 03:00:19    阅读次数:241
C#复制所选目录下所有文件夹和文件
代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.T...
分类:其他好文   时间:2014-05-30 06:48:10    阅读次数:200
C# : new 和 overrider 的区别
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication2{ class...
分类:其他好文   时间:2014-05-30 05:34:16    阅读次数:272
SQL /LINQ/Lamda
SQLLINQLambdaSELECT *FROM HumanResources.Employeefrom e in Employeesselect eEmployees .Select (e => e)SELECT e.LoginID, e.JobTitleFROM HumanResources....
分类:数据库   时间:2014-05-29 12:24:05    阅读次数:317
多线程
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:编程语言   时间:2014-05-29 04:01:44    阅读次数:276
ASP.NET文件操作通用类
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using System.IO; 7 using System.Web; 8 usi...
分类:Web程序   时间:2014-05-29 01:07:43    阅读次数:392
C#.net word excel powerpoint (ppt) 转换成 pdf 文件
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:Web程序   时间:2014-05-28 18:29:46    阅读次数:378
LINQ语句中的.AsEnumerable() 和 .AsQueryable()的区别【转】
在写LINQ语句的时候,往往会看到.AsEnumerable() 和 .AsQueryable() 。例如:string strcon ="Data Source=.\\SQLEXPRESS;Initial Catalog=Db_Example;Persist Security Info=True;...
分类:其他好文   时间:2014-05-28 16:07:41    阅读次数:418
Linq- ExcuteQuery用法
DataContext.ExecuteQuery方法 (String,Object[])语法:public IEnumerable ExecuteQuery( string query, params Object[] parameters)类型参数:TResult:返回的集合中的元素的...
分类:其他好文   时间:2014-05-28 08:57:51    阅读次数:226
Linq递归生成easyui-tree
我把整个类放这里大加参考:public class ClassOrganization { static List org; public List GetOrgTree(string _pid) { List porg = new List(); porg = org.Where(g => g.a...
分类:其他好文   时间:2014-05-27 17:05:33    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!