随笔分类 -  Asp.Net

摘要:Microsoft patterns & practices License for Enterprise Library The second CTP of Enterprise Library 3.0 is now available to download on our CodePlex community site! Full details on this release are in ... 阅读全文
posted @ 2007-01-23 22:14 RicoRui 阅读(657) 评论(0) 推荐(0)
摘要:1、从微软网站下载MS Script Debugger并安装,这是下载地址:http://download.microsoft.com/download/winscript56/install/1.0a/NT45XP/EN-US/scd10en.exe 2、修改IE的设置:IE的选项-->高级,有两个选项默认是钩选的:Disable Script Debugging(Internet Explor... 阅读全文
posted @ 2006-11-29 15:14 RicoRui 阅读(1225) 评论(0) 推荐(0)
摘要:1今天一大早我打开组员的代码,突然感觉有必要用partial了,所以再重温一下。 2 3partial: 4 5 可以将类、结构或接口的定义拆分到两个或多个源文件中。每个源文件包含类定义的一部分,编译应用程序时将把所有部分组合起来。在以下几种情况下需要拆分类定义: 6 处理大型项目时,使一个类分布于多个独立文件中可以让多位程序员同时对该类进行处理。 7 若要拆分类定义,请使用 ... 阅读全文
posted @ 2006-11-23 11:22 RicoRui 阅读(669) 评论(0) 推荐(0)
摘要:一.vs.net在新建工程时弹出"Automation 服务器不能创建对象"的解决方案 原因是FileSystemObject创建失败的问题,解决的方法:运行Regsvr32 scrrun.dll二. 错误提示: 从客户端(TextBox1=""). 由于在.net中,Request时出现有HTML或Javascript等字符串时,系统会认为是危险性值。立马报错。解决方案一: 在.aspx文件头中... 阅读全文
posted @ 2006-11-06 13:01 RicoRui 阅读(2825) 评论(1) 推荐(0)
摘要:Default.apsx 前台代码: Untitled Page 中文 英文 后台代码: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;usi... 阅读全文
posted @ 2006-10-16 21:08 RicoRui 阅读(706) 评论(0) 推荐(0)
摘要:日期:2008年11月25日30.Rule:1. 如果A,B都有值,优先取A2. 如果A有值,B没值,取A3. 如果A没值,B有值,取B4. 如果A,B都没值,都不取5. 如果有值交叉的情况,都不取 A B 1 null null 1 null 1 1 1 Code highlighting produced by Actipro CodeHighlighter (freeware)http://... 阅读全文
posted @ 2006-06-27 12:01 RicoRui 阅读(1713) 评论(3) 推荐(0)
摘要:using System;using System.Windows.Forms;using System.Runtime.InteropServices; namespace Balloon{ //Defines a set of standardized icons that can be associated with a ToolTip public enum TooltipIcon : i... 阅读全文
posted @ 2005-10-31 20:19 RicoRui 阅读(323) 评论(0) 推荐(0)