cnlan

导航

2010年2月24日

查看asp.net所支持的.net framework版本

摘要: 可通过System.Environment.Version.ToString()取得当前CLR版本号,然后对照下表得到Revision版本: .NET Framework version Revision Version 3.5 Original release 3.5.21022.8 3.5 Service Pack 1 3.5.30729.1 3.0 Original release 3.0.... 阅读全文

posted @ 2010-02-24 08:17 小菜猪 阅读(668) 评论(0) 推荐(0) 编辑

2010年2月1日

asp.net 上传图片并生存裁剪图

摘要: View代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<linkrel="stylesheet"href="http://www.cnblogs.com/Scripts/jquery.Jcrop.css"type="text/css"/&g... 阅读全文

posted @ 2010-02-01 14:43 小菜猪 阅读(1188) 评论(0) 推荐(0) 编辑

2010年1月22日

c#修改本机时间,获取硬盘序列号

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;nam... 阅读全文

posted @ 2010-01-22 16:35 小菜猪 阅读(1203) 评论(1) 推荐(0) 编辑

通用创建对象(建立IdataReader与Class关系,同时将IdataReader数据赋给Class对象(原创)

摘要: 通用创建对象(建立IdataReader与Class关系,同时将IdataReader数据赋给Class对象,不用每次访问数据都写一大堆代码...[代码] 阅读全文

posted @ 2010-01-22 16:30 小菜猪 阅读(404) 评论(0) 推荐(0) 编辑

2010年1月19日

验证时间的正则表达式

摘要: [代码]支持1:5或01:05格式 阅读全文

posted @ 2010-01-19 08:53 小菜猪 阅读(200) 评论(0) 推荐(0) 编辑

2010年1月16日

XP_SP3官方原版ISO下载:Windows XP Professional with Service Pack 3 (x86) - CD (中文简体)

摘要: XP_SP3官方原版ISO下载:Windows XP Professional with Service Pack 3 (x86) - CD (中文简体)2008-06-05 00:25 文件名:zh-hans_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-74070.iso 文件大小: 601.04 (630237184 字节... 阅读全文

posted @ 2010-01-16 14:50 小菜猪 阅读(5886) 评论(0) 推荐(0) 编辑

2010年1月14日

C# 中的常用正则表达式

摘要: 只能输入数字:"^[0-9]*$"。   只能输入n位的数字:"^\d{n}$"。  只能输入至少n位的数字:"^\d{n,}$"。  只能输入m~n位的数字:。"^\d{m,n}$"  只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。  只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2})?$"。  只能输入有1~3位小数的正实数:"^[0-9]+(.[0-9]... 阅读全文

posted @ 2010-01-14 15:47 小菜猪 阅读(165) 评论(0) 推荐(0) 编辑

2009年12月29日

快钱网关接口程序开发示例

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//////////Send.aspx///////////////////////////////////<scriptLanguage="C#"runat="server">/***@... 阅读全文

posted @ 2009-12-29 14:31 小菜猪 阅读(1371) 评论(0) 推荐(0) 编辑

2009年11月24日

由于未能创建 Microsoft Visual C# 2008 编译器,因此未能打开项目 "xxx" 的解决方法

摘要: 环境:vs.net 2008 sp1操作系统: windows 7介绍:昨天回家的时候,由于vs.net 反应很慢,老半天没反应,则点了击接关机。。。 今早一来,打开解决方案全提示:“由于未能创建 Microsoft Visual C# 2008 编译器,因此未能打开项目 "xxxxxxx-xxx-xxx-xxxxxxx" ,该解决方案下所有的项目均不能打开。   开始认为是.sln文... 阅读全文

posted @ 2009-11-24 09:11 小菜猪 阅读(819) 评论(0) 推荐(0) 编辑

2009年11月20日

jquery 1.3.2 单选按钮取值

摘要: [代码] 阅读全文

posted @ 2009-11-20 17:00 小菜猪 阅读(436) 评论(0) 推荐(0) 编辑