摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Net;using System.IO.Compression;namespace ConsoleApp{ class Program { static void WritePrint(Action action, T t) { Console.WriteLine("类型为:{0},值为:{1}", t.GetTy... 阅读全文
posted @ 2013-08-01 12:08 cqims21 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 修改jquery easyui combobox模糊过滤filter:function(q,row){var opts=$(this).combobox("options"); //return row[opts.textField].indexOf(q)==0;// return row[opts.textField].indexOf(q)>-1;//将从头位置匹配改为任意匹配},formatter:function(row){var opts=$(this).combobox("options");return row[opts.textFie 阅读全文
posted @ 2013-06-13 15:09 cqims21 阅读(2457) 评论(4) 推荐(0) 编辑
摘要: /// <summary> /// 压缩 /// </summary> public static class ZipClass { /// <summary> /// 序列化转化为二进制数组 /// </summary> /// <param name="DS"></param> /// <returns></returns> public byte[] GetDataSetSurrogateBYtes(DataSet DS) { DataS... 阅读全文
posted @ 2013-04-17 19:11 cqims21 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 引用:http://bbs.csdn.net/topics/300147811using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 冒泡排序与快速排序{ class Program { /// <summary> /// 冒泡排序法 /// </summary> private void MaoPao() { int temp; int[] ... 阅读全文
posted @ 2013-04-09 21:34 cqims21 阅读(150) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Reflection;using Leadsoft.Common;public partial class Reflection_reflect : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) ... 阅读全文
posted @ 2013-04-09 21:31 cqims21 阅读(167) 评论(0) 推荐(0) 编辑