摘要:
#region Using using System; using System.IO; using System.Threading; using System.Runtime.InteropServices; using System.ComponentModel; #endregion Using namespace LoMaN.IO { public class Seri... 阅读全文
阅读排行榜
DevExpress控件使用
2011-03-06 11:32 by 观海看云, 222 阅读, 收藏,
摘要:
零零散散的先总结一下吧 1.TextEditor(barEditItem)取文本 string editValue = barEditItem1.EditValue.ToString(); //错误,返回null string editValue = ((DevExpress.XtraEditors.TextEdit)barEditItem).EditValue.ToString(); ... 阅读全文
兼容IE和Firefox的设为首页和收藏的Javascript代码
2010-02-05 20:23 by 观海看云, 222 阅读, 收藏,
摘要:
function addCookie(){if (document.all) { window.external.addFavorite('http://www.mm740.cn,'mm网'); } else if (window.sidebar) { window.sidebar.addPanel('疯狂音乐网', 'http://www.mm740.cn, "");}}function se... 阅读全文
正则表达式语法 字符 说明
2011-07-16 14:16 by 观海看云, 220 阅读, 收藏,
摘要:
\ 将下一字符标记为特殊字符、文本、反向引用或八进制转义符。例如,“n”匹配字符“n”。“\n”匹配换行符。序列“\\”匹配“\”,“\(”匹配“(”。 ^ 匹配输入字符串开始的位置。如果设置了 RegExp 对象的 Multiline 属性,^ 还会与“\n”或“\r”之后的位置匹配。 $ 匹配输入字符串结尾的位置。如果设置了 RegExp 对象的 Multiline 属性,$ 还会与“\n”或... 阅读全文
LINQ To ADO.Net中几个方法(1)
2011-03-02 22:03 by 观海看云, 220 阅读, 收藏,
摘要:
var query1 = from p in dt1.AsEnumerable() from pp in dt2.AsEnumerable() where p.Field<string>("sruser") == pp.Field<string>("stuser") select p; DataTable dt3 = query1.CopyToDataTable<DataRow>(); 阅读全文
浙公网安备 33010602011771号