心静自然凉~

一杯清茶、二盏淡酒、邀三五知己,诉七八句心语,道九分珍重,怀十分真诚,或伤感、或快乐,无现实之隔阂 、无世俗之势利,如此人生,不亦乐乎!

导航

2008年8月15日

摘要: F#...函数式编程语言,每个表达式都是一个函数式的。function is values。 printf 方法 with %A pattern to output them to the console. %A可以显示任何类型,类似于c#中的ToString 。 也可以使用print_any and any_to_string方法。 printf_string :打印一个string类型 pri... 阅读全文

posted @ 2008-08-15 12:02 Leo.Zhu 阅读(267) 评论(0) 推荐(0) 编辑

2008年7月22日

摘要: 转:http://tmsoft.lsxy.com/index.php?load=read&id=221 快速预览:GridView无代码分页排序GridView选中,编辑,取消,删除GridView正反双向排序GridView和下拉菜单DropDownList结合GridView和CheckBox结合鼠标移到GridView某一行时改变该行的背景色方法一鼠标移到GridView某一行时改变该行的背... 阅读全文

posted @ 2008-07-22 09:36 Leo.Zhu 阅读(473) 评论(0) 推荐(0) 编辑

2008年7月1日

摘要: 使用PropertyDescriptor类.code如下:PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(retrieved.BusinessEntities[0])["TelPhone1"];if (propertyDescriptor != null){propertyDescriptor.GetValu... 阅读全文

posted @ 2008-07-01 18:02 Leo.Zhu 阅读(1502) 评论(0) 推荐(0) 编辑

2008年6月30日

摘要: GridView通过javascript控制选择,不往返于Client和Server之间。code如下:javascript:var lastRowSelected;var Colorback;function GridView_selectRow(row, ID){document.getElementById("HidID").value=ID;if (lastRowSelected != r... 阅读全文

posted @ 2008-06-30 16:18 Leo.Zhu 阅读(521) 评论(0) 推荐(0) 编辑

2008年6月26日

摘要: wsdl /out:myProxyClass.cs http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL Web 服务描述语言工具从 WSDL 协定文件、XSD 架构和 .discomap 发现文档为 XML Web services 和 XML Web services 客户端生成代码。 wsdl [options] {UR... 阅读全文

posted @ 2008-06-26 17:42 Leo.Zhu 阅读(7816) 评论(0) 推荐(0) 编辑

2008年6月24日

摘要: 当使用ASP.NET AJAX、AJAX Control Toolkit开发项目的时候,在部署的时候,需要注意。1. 建议大家从ASP.NET AJAX的官方网站下载ASP.NET 2.0 AJAX Extensions 1.0来进行安装,以便取得组件所提供的支援。2.如果不打算安装AjaxExtensions组件,可以将AJAXExtensionsToolbox.dll、System.Web.E... 阅读全文

posted @ 2008-06-24 09:52 Leo.Zhu 阅读(159) 评论(0) 推荐(0) 编辑

2008年6月11日

摘要: DockPanel Suite:开发类似VS.net的界面,#Develop就是使用的这个控件。网址:http://sourceforge.net/projects/dockpanelsuite/ZedGraph:二维图表绘制控件,可以绘制大部分的Excel图表。网址:http://zedgraph.sourceforge.net/Math.net:C#实现的数值运算开源库。网址:http://n... 阅读全文

posted @ 2008-06-11 11:10 Leo.Zhu 阅读(189) 评论(0) 推荐(0) 编辑

2008年6月5日

摘要: 后台添加属性GridView1.Attributes["bordercolor"] = System.Drawing.ColorTranslator.ToHtml(System.Drawing.Color.Silver);一个页面不执行load 的方法解决:Response.Cache.SetNoStore();Response.AppendHeader("Pragma", "no-cache")... 阅读全文

posted @ 2008-06-05 10:54 Leo.Zhu 阅读(151) 评论(0) 推荐(0) 编辑

2008年5月4日

摘要: aaa/bbbb[@type='1']/cccc[@PageName='2'] 直接读取到ccc的节点 阅读全文

posted @ 2008-05-04 14:52 Leo.Zhu 阅读(1500) 评论(0) 推荐(0) 编辑

摘要: .net 工具 Reflector,可以方便查看.net 程式的代码.下载地址: http://www.namipan.com/d/Reflector.rar/95c0e0a812499e95cc98d2712b670a7ad914628fa6551000FileDisassembler插件: http://www.namipan.com/d/Reflector.FileDisassembler.... 阅读全文

posted @ 2008-05-04 10:44 Leo.Zhu 阅读(253) 评论(0) 推荐(0) 编辑

2008年4月30日

摘要: Code:s = "#" + this.ColorOnBlue.R.ToString("X2") + this.ColorOnBlue.G.ToString("X2") + this.ColorOnBlue.B.ToString("X2"); 阅读全文

posted @ 2008-04-30 11:53 Leo.Zhu 阅读(207) 评论(0) 推荐(0) 编辑

2008年4月28日

摘要: 用户名:maitian注册码:GKDIJ-JGLHT-MNBGA-QODRR-EHIEY-JIMLR-MJBHB-OQJRI 阅读全文

posted @ 2008-04-28 21:40 Leo.Zhu 阅读(381) 评论(0) 推荐(0) 编辑

2008年4月25日

摘要: 打开.Net Framework附带的SDK命令提示符。加密命令:aspnet_regiis -pe "connectionStrings" -app "/encrypttest"-pe开关用来指定web.config中需要加密的节(Web.Config文件中的connectionStrings配置节)。-app开关用来指定IIS里面的虚拟目录,如果为根目录网站,为"/".解密命令:aspnet_... 阅读全文

posted @ 2008-04-25 17:13 Leo.Zhu 阅读(230) 评论(0) 推荐(0) 编辑

摘要: 1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键no 可用于Table2. 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="return false;" 防止复制5. IE地址栏前换成自己的图标6. 可以在收藏夹中显示出你的图标... 阅读全文

posted @ 2008-04-25 15:07 Leo.Zhu 阅读(1794) 评论(0) 推荐(0) 编辑

2008年4月2日

摘要: ' onFocus=OnEnter(this) onBlur=OnExit(this)> 阅读全文

posted @ 2008-04-02 10:41 Leo.Zhu 阅读(732) 评论(0) 推荐(0) 编辑