摘要: 1. .Net Framwork 版本问题。 2. 身份验证问题 阅读全文
posted @ 2010-02-26 12:34 yangan-wu2008 阅读(980) 评论(0) 推荐(0) 编辑
摘要: 通过使用javascript在客户端验证输入值的有效性,能够有效的保证数据的有效性,并减轻了服务器端验证给服务器带来的负担。下面介绍函数库及使用方式: 1、验证函数库: 代码 Code highlighting produced by Actipro CodeHighlighter (freewa... 阅读全文
posted @ 2010-02-02 13:09 yangan-wu2008 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tr... 阅读全文
posted @ 2010-02-02 12:53 yangan-wu2008 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 一.ActiveRecordAttribute 每一个实体类都必须继承于基类ActiveRecordBase,并在实体类上设置特性ActiveRecordAttribute 二.PrimaryKeyAttribute 在实体类中,通过PrimaryKeyAttribute来指定表的主键 三.Com... 阅读全文
posted @ 2010-01-30 00:08 yangan-wu2008 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 第一步:准备工作 1、下载AR 2.1.2.zip,地址:http://sourceforge.net/projects/castleproject/files/ 2、创建数据库表(Users) 3、编写实体类 4、配置数据库连接(差点挂在上面) 5、编写代码测试(最期待的时刻) 第二步:... 阅读全文
posted @ 2010-01-29 23:44 yangan-wu2008 阅读(700) 评论(1) 推荐(0) 编辑
摘要: public IList ConvertToIList(ISet lstSet){ ISet distinctResults = new HashedSet(results); IList maxAmounts = new ArrayList(); foreach (Item item in dis... 阅读全文
posted @ 2009-12-29 13:00 yangan-wu2008 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1CREATEPROCEDUREKillSpid(@dbNamevarchar(20))2AS3... 阅读全文
posted @ 2009-12-23 16:23 yangan-wu2008 阅读(1323) 评论(1) 推荐(0) 编辑
摘要: 方法一: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1selectinto和insertintoselect两种表复制语句2select*... 阅读全文
posted @ 2009-12-22 08:49 yangan-wu2008 阅读(1396) 评论(0) 推荐(0) 编辑
摘要: 1、在该文件中不能使用Server.MapPath()方法来实现虚拟路径到物理路径的转换。 2、使用HttpRuntime.AppDomainAppPath获取应用程序的物理根目录 如果要把一个相对路径或者虚拟路径映射道服务器的物理路径,通常会使用Server.MapPath()函数,比如将根目录下... 阅读全文
posted @ 2009-12-01 12:48 yangan-wu2008 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 1、 问题:后台字体倒显示?效果如下: 原因:由于Asp.net采用UTF-8编码,原先使用GB2312导致乱码。 解决方法:在Web.config中添加以下代码段 system.web> globalization requestEncoding="utf-8" responseEncoding... 阅读全文
posted @ 2009-11-23 17:15 yangan-wu2008 阅读(1811) 评论(0) 推荐(1) 编辑
摘要: 建立一个文本文件,取名为kill-svn-folders.reg(扩展名由txt改为reg),内容如下: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.co... 阅读全文
posted @ 2009-09-28 17:26 yangan-wu2008 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 方法一: 在Microsoft SQL Server 2005的查询分析器中运行如下代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->SELECT... 阅读全文
posted @ 2009-09-28 11:57 yangan-wu2008 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 本文目的是实现新闻内容的打印,而不是整个页面的打印。以下是我的操作步骤:第一步:添加如下CSS Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->第二步:... 阅读全文
posted @ 2009-08-27 11:43 yangan-wu2008 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 首先,当然是下载URLRewriter了 download.microsoft.com/download/0/4/6/0463611e-a3f9-490d-a08c-877a83b797cf/MSDNURLRewriting.msi 下载安装后再bin目录下找到URLRewriter.dll文件 ... 阅读全文
posted @ 2009-08-19 17:26 yangan-wu2008 阅读(6852) 评论(2) 推荐(2) 编辑
摘要: 使用格式如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->httpModules>addtype="classname,assemblyname"... 阅读全文
posted @ 2009-08-13 18:02 yangan-wu2008 阅读(1864) 评论(0) 推荐(0) 编辑