C#的HashSet很少被使用的集合类型的一些被常用到的方法。...
分类:
其他好文 时间:
2014-06-05 11:13:08
阅读次数:
159
使用DataAdapter和DataSet来读取数据表JBQK中的数据
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
namespace shiyan11
{
cla...
分类:
其他好文 时间:
2014-06-05 10:54:20
阅读次数:
203
这篇来谈论一下Linq第三个方面的应用:Linq to Object,只要是继承了IEnumerable或IQueryable接口的Object都能使用Linq特性进行操作。在操作过程当中可能很多人都觉得不好调试不能实时地观察结果数据集,想把IQuery的Linq查询语句转换成数据表DataTable,要怎么实现转换呢?来看一下。
先来说一场景解释一下为什么需要用Linq来解决一些问题,...
分类:
其他好文 时间:
2014-06-04 23:46:35
阅读次数:
477
1.简单委托示例using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
SimpleTest{ class Program { private d...
分类:
其他好文 时间:
2014-06-03 09:04:42
阅读次数:
266
/*Linq JS*/ //range var aa = Enumerable.range(1,
10).toArray(); var kk = Enumerable.range(1, 10, 3).toArray(); //select kk =
Enumerabl...
分类:
Web程序 时间:
2014-06-03 08:13:47
阅读次数:
255
代码如下:using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Configuration;using System.Collections;using Syste...
分类:
其他好文 时间:
2014-06-03 07:38:59
阅读次数:
208
C#端的WebService接口接收json格式数据,处理后以json格式返回resultusing
System;using System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.Service...
分类:
Web程序 时间:
2014-05-31 17:30:19
阅读次数:
249
using System;using System.Collections;using
System.Collections.Generic;using System.Linq;using
System.Text.RegularExpressions;using System.Web;using S...
分类:
其他好文 时间:
2014-05-31 12:45:40
阅读次数:
199
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading;using System.Net;using
System.Runtime.Interop...
分类:
编程语言 时间:
2014-05-31 05:59:18
阅读次数:
260
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 //对数据库进行操作引入命名空间 6 using
System.Data;...
分类:
数据库 时间:
2014-05-30 03:34:30
阅读次数:
287