摘要:
零零散散的先总结一下吧 1.TextEditor(barEditItem)取文本 string editValue = barEditItem1.EditValue.ToString(); //错误,返回null string editValue = ((DevExpress.XtraEditors.TextEdit)barEditItem).EditValue.ToString(); ... 阅读全文
阅读排行榜
C#串口操作
2011-07-21 20:32 by 观海看云, 221 阅读, 收藏,
摘要:
#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... 阅读全文
兼容IE和Firefox的设为首页和收藏的Javascript代码
2010-02-05 20:23 by 观海看云, 221 阅读, 收藏,
摘要:
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... 阅读全文
ASP.NET 程序中常用的三十三种代码
2009-11-06 08:31 by 观海看云, 220 阅读, 收藏,
摘要:
1. 打开新的窗口并传送参数: 传送参数: response.write("<script>window.open(’*.ASPx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数: string a = Request.QueryString("id"); string b... 阅读全文
正则表达式语法 字符 说明
2011-07-16 14:16 by 观海看云, 219 阅读, 收藏,
摘要:
\ 将下一字符标记为特殊字符、文本、反向引用或八进制转义符。例如,“n”匹配字符“n”。“\n”匹配换行符。序列“\\”匹配“\”,“\(”匹配“(”。 ^ 匹配输入字符串开始的位置。如果设置了 RegExp 对象的 Multiline 属性,^ 还会与“\n”或“\r”之后的位置匹配。 $ 匹配输入字符串结尾的位置。如果设置了 RegExp 对象的 Multiline 属性,$ 还会与“\n”或... 阅读全文
浙公网安备 33010602011771号