03 2013 档案

摘要:public delegate bool EqualsComparer<T>(T x, T y); /// <summary> /// 过滤重复数据 /// </summary> public class Comparint<T> : IEqualityComparer<T> { private EqualsComparer<T> ec; public Comparint() { } public Comparint(EqualsComparer<T> e)... 阅读全文
posted @ 2013-03-22 16:17 文艺流浪汉 阅读(232) 评论(0) 推荐(0) 编辑
摘要:string ReplaceChat(string EE) { string[] dd ={"◎", "■", "●", "№", "↑", "→", "↓" + "!", "@", "#", "$", "%", "^", "&", "*", "(", ")&q 阅读全文
posted @ 2013-03-13 11:02 文艺流浪汉 阅读(3171) 评论(0) 推荐(0) 编辑
摘要:/// 上传文件 /// </summary> /// <param name="path">文件保存位置</param> /// <param name="oFile">文件</param> /// <returns></returns> public string UpLoadFile( System.Web.UI.WebControls.FileUpload fu) { bool Isftp = true; if (Isftp) { ... 阅读全文
posted @ 2013-03-13 10:11 文艺流浪汉 阅读(342) 评论(0) 推荐(0) 编辑
摘要:function clearNoNum(obj) { //先把非数字的都替换掉,除了数字和. obj.value = obj.value.replace(/[^\d.]/g, ""); //必须保证第一个为数字而不是. ... 阅读全文
posted @ 2013-03-06 10:47 文艺流浪汉 阅读(13574) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 分页获取数据集 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="_pagerIndex"></param> /// <param name="_pagerSize"></param> /// <param name="WhereString"></param> /// &l 阅读全文
posted @ 2013-03-05 18:18 文艺流浪汉 阅读(323) 评论(0) 推荐(0) 编辑
摘要:Tabletable=new Table();Response.ClearContent();Response.Buffer=true;Response.Charset="GB2312";Response.AppendHeader("Content-Disposition","attachment;filename=FileName1.xls");Response.ContentEncoding=System.Text.Encoding.UTF8;Response.ContentType="application/excel 阅读全文
posted @ 2013-03-05 18:15 文艺流浪汉 阅读(272) 评论(0) 推荐(0) 编辑