<?xml version="1.0" encoding="gb2312"?>
<?xml-stylesheet type="text/xsl" href="inc/rss.xsl" version="1.0"?><rss version="2.0">
<channel>
<title>ASP教程 - BK网络学院,excel教程,word教程,visio,flash教程,coreldraw教程,powerpoint教程,平面设计教程</title>
<link><![CDATA[http://www.blue1000.com]]></link>
<description><![CDATA[ASP教程栏目提供ASP相关教程,是您学习ASP的最佳选择.]]></description>
<language>zh-CN</language><generator>iwms.net</generator>
<image>
<title><![CDATA[BK网络学院,excel教程,word教程,visio,flash教程,coreldraw教程,powerpoint教程,平面设计教程]]></title>
<url>pic/logo.gif</url>
<link>http://www.blue1000.com</link>
</image>
<item>
	<title><![CDATA[AspUpload使用方法及属性详细介绍]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-04/67429.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Tue, 06 Apr 2010 06:42:22 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[AspUpload使用方法及属性详细介绍，CodePage&nbsp;As&nbsp;Long&nbsp;(Read/Write)&nbsp;，可以把表单的文本项目名和文件名的字符从指定的CodePage转换为Unicode，比如表单是按UTF-8提交的，那么这个属性应该设置为65001。]]></description>
</item>
<item>
	<title><![CDATA[ASP.NET中MVC框架模式如何实现方法分享]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-03/67177.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 08 Mar 2010 01:41:21 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[ASP.NET中MVC框架模式如何实现方法分享，ASP.NET是微软最新推出的新型体系结构.NET框架的一部分，ASP.NET为构造新一代动态网站和基于网络的分布式应用提供了强有力的支持。与以前&nbsp;的&nbsp;Web&nbsp;开发模型相比，ASP.NET&nbsp;提供了许多重要的优点例如:&nbsp;简易性；安全性；可管理性等]]></description>
</item>
<item>
	<title><![CDATA[GridView如何显示数据库里存放的图片]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-03/67173.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 08 Mar 2010 01:31:14 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[在GridView控件中的ImageField没有DataField属性，怎么才能绑定到SQL Server中的Image Field？打DynamicImage控件从beta2中消失后，成了个问题。ASP.NET2.0随之也给我们带来了另外一种解决方案。]]></description>
</item>
<item>
	<title><![CDATA[Google Analytics异步代码]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2010-01/66757.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 14 Jan 2010 08:15:50 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[Google Analytics异步代码，谷歌近日宣布Google Analytics将可以支持异步跟踪Asynchronous Tracking，相对以前的跟踪代码]]></description>
</item>
<item>
	<title><![CDATA[asp.net+ajax+jQ实现树动态创建教程]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-12/66345.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 21 Dec 2009 02:02:30 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[用javascript+asp.net的一般处理程序， 实现树的动态创建，点击上一层异步加载下一层]]></description>
</item>
<item>
	<title><![CDATA[ASP隐藏下载地址及防盗代码]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-11/65617.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Mon, 16 Nov 2009 06:52:42 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[&lt;% FunctIon DownloadFIle(StrFIle)<br/>StrFIlename=StrFIle<br/>Response.Buffer=True<br/>Response.Clear<br/>Set S=Server.CreateObJect(&quot;ADODB.Stream&quot;)<br/>S.Open<br/>S.Type=1<br/>on Error Resume Next<br/>Set Fso=Server.CreateObJect(&quot;ScrIptIng.FIleSystemObJect&quot;)<br/>If Not Fso.FIleExists(StrFIleName)]]></description>
</item>
<item>
	<title><![CDATA[处理ASP数据库被挂马的编程方法]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-11/65569.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Sat, 07 Nov 2009 03:40:07 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[数据库被挂马我相信很多人都碰到过。在这里，我讲下我处理的方法。
<br/>&nbsp; &nbsp; 第一步：为现有数据库做好备份。
<br/>&nbsp; &nbsp; 第二步：执行如下ASP文件，这样就可以去掉数据库当中的JS木马：
<br/>&nbsp; &nbsp; 注：conn.asp自己去写了。
<br/>&nbsp; &nbsp; '这里放入JS木马内容：请记得改为自己数据库中的JS木马内容。
<br/>&nbsp; &nbsp; &lt;!--#include file=&quot;conn.asp&quot;--&gt;
<br/>&nbsp; &nbsp;]]></description>
</item>
<item>
	<title><![CDATA[ASP移除所有HTML代码的函数]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65252.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Wed, 30 Sep 2009 06:10:40 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[ASP移除所有HTML代码的函数
<br/>Function RemoveHTML( strText )<br/>&nbsp; Dim RegEx<br/>&nbsp; Set RegEx = New RegExp<br/>&nbsp; RegEx.Pattern = &quot;&lt;[^&gt;]*&gt;&quot;<br/>&nbsp; RegEx.Global = True<br/>&nbsp; RemoveHTML = RegEx.Replace(strText, &quot;&quot;)<br/>&nbsp; RemoveHTML = replace(RemoveHTML,&quot; &quot;,&quot;]]></description>
</item>
<item>
	<title><![CDATA[ASP日期加减函数：DateDiff和DateAdd]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65251.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Wed, 30 Sep 2009 06:10:39 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[ASP日期加减函数
<br/>　　1.日期相加
<br/>　　DateAdd 函数 <br/>　　返回已添加指定时间间隔的日期。 <br/>　　DateAdd(interval, number, date)
<br/>　　DateAdd 函数的语法有以下参数 <br/>　　（1）interval 必选项。字符串表达式，表示要添加的时间间隔。有关数值，请参阅&ldquo;设置&rdquo;部分。 <br/>　　（2）number 必选项。数值表达式，表示要添加的时间间隔的个数。数值表达式可以是正数（得到未来的日期）或负数（得到过去的日期）。 <br/>　　（3）date 必选项。Variant 或要添加 interv]]></description>
</item>
<item>
	<title><![CDATA[ASP过滤script脚本的正则函数]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65250.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Wed, 30 Sep 2009 06:10:39 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[function DelJs(str)<br/>&nbsp; Dim&nbsp; objRegExp<br/>&nbsp; Set&nbsp; objRegExp=New&nbsp; RegExp &nbsp; <br/>&nbsp; '设置是否区分字符大小写，true表示忽略大小写 &nbsp; <br/>&nbsp; objRegExp.IgnoreCase=True &nbsp; <br/>&nbsp; '设置是否全局匹配，True表示全局匹配 &nbsp; <br/>&nbsp; objRegExp.Global=True &nbsp; <br/>&nbsp; objRegExp.Pattern=]]></description>
</item>
<item>
	<title><![CDATA[解决ASP中UTF-8与GB2312编码转换乱码]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65137.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:47:32 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[现在blog程序一般都是utf-8编码的，要在网站里加入其它的程序的话，如果不是utf-8而是gb2312的话，在页面转换的时候很容易出现打开的页面时乱码，经过查找资料和测试，总结出现在最好的一个方法，先了解一下基础的代码：
<br/>&lt;%@ codepage=65001%&gt;UTF-8<br/>&lt;%@ codepage=936%&gt;简体中文<br/>&lt;%@ codepage=950%&gt;繁体中文<br/>&lt;%@ codepage=437 %&gt;美国/加拿大英语<br/>&lt;%@ codepage=932 %&gt;日文<br/>&lt;%@ codepage=949 %&gt;韩文<br/>&lt;%@ code]]></description>
</item>
<item>
	<title><![CDATA[ASP动态网页中隐藏url参数传递的方法]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65136.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:47:22 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[做过网站开发的朋友肯定知道，我们在做动态网站的时候往往会在各个页面之间传递参数，而这些参数的名称和值都会在url地址栏中被暴露出来，有的时候参数的名称可能就是数据库中某个字段的名称，这样一方面不安全，另一方面也不便于搜索引擎的收录，有的时候还有可能由于参数中含有中文而导致某些浏览器会出错(我发现在Firefox浏览器中用get方式传递中文参数时会出错)。所以我们有必要隐藏url参数传递，具体方法请看下面具体介绍。&nbsp; &nbsp; 隐藏url参数传递，我的思路是用表单来传递参数，把参数的值放在表单中，并把表单设为隐藏，然后用超链接来触发表单事件，从而把参数以post方式传递给另一个页面。（可能有朋友不理解，下面以一个具体的例子来说明） 
<br/>]]></description>
</item>
<item>
	<title><![CDATA[ASP编程中隐藏图片真实地址方法]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65135.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:47:13 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[&nbsp; &nbsp; 我们在浏览网页的时候常常能看到好多图片，我们要想知道图片的真实地址很简单，只需要右键点击图片，选择属性就可以看到图片的真实地址。有的时候我们可能需要隐藏图片的真实地址，今天就教大家一个最简单的ASP隐藏图片真实地址的方法。 <br/>&nbsp; &nbsp; 新建一个htmerimg.asp文件，在该文件中添加如下代码： 
<br/>&nbsp; &nbsp; &lt;% <br/>&nbsp; &nbsp; Dim filename <br/>&nbsp; &nbsp; filename=request(&quot;file&quot;) <br/>]]></description>
</item>
<item>
	<title><![CDATA[ASP教程：实现长文章分页功能]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65134.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:47:05 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[要动态的还是静态的。先给你动态的吧。这个问题我弄了很久了，你好幸运有现成的给你，下面编写的函数<br/>'按标识手动分页<br/>function manualPage(str)<br/>pages=request.QueryString(&quot;page&quot;)<br/>contentstr=split(str,&quot;{$page$}&quot;)<br/>Response.Write(ContentStr(pages))<br/>Response.Write(&quot;&lt;p/&gt;&quot;)<br/>Response.Write(&quot;&lt;div class=&quot;&quot;pageList]]></description>
</item>
<item>
	<title><![CDATA[ASP教程：读取文件和写文件]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65133.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:46:55 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[读取文件操作：
<br/>'-------------------------------------------------<br/>'函数名称:ReadTextFile<br/>'作用:利用AdoDb.Stream对象来读取UTF-8格式的文本文件<br/>'----------------------------------------------------<br/>Function ReadFromTextFile (FileUrl,CharSet)<br/>&nbsp; &nbsp; dim str<br/>&nbsp; &nbsp; set stm=server.CreateObject(]]></description>
</item>
<item>
	<title><![CDATA[新云ACCESS数据库连接设置]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65132.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:46:43 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[一、改数据库名
<br/>　　打开您解压后的网站系统目录，选中&ldquo;Database&rdquo;目录中的newasp.asa（数据库文件），右键选择&ldquo;重命名&rdquo;，改成如newasp#webdata.asa这样的名称，以防止被他人下载（这样做非常重要！）。
<br/>二、修改conn.asp文件的数据库链接地址
<br/>　　打开您的网站系统目录，找到根目录中的conn.asp文件，用记事本打开这个文件。定义数据库类别&ldquo;Const isSqlDataBase = 0&rdquo;，1为SQL数据库，0为Access数据库。<br/>然后找到db=]]></description>
</item>
<item>
	<title><![CDATA[解决ASP网站gb2312和utf-8乱码问题]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65131.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:46:33 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[一般我们做asp网站，都会用到conn.asp来连接数据库，这个文件一般都包含在每个页面的最顶部，所以我们只要把这个代码加在conn.asp的顶部，全站就都解决了，当然如果在conn.asp之上还包含了其他文件，或者conn.asp没有放在最顶部，改起来就相对麻烦一点。
<br/>做网站的时候，客户要一个博客，于是就利用了本博客所用的程序pjblog。经常做网站的人都知道，在同一个站点里使用不同编码的页面会产生乱码，比较常见的就是gb2312和Utf-8，比如我刚做的网站主站用的gb2312，博客用了utf-8，这样在访问时就出现乱码，以前给百货大楼的网站加一个调查问卷系统，就遇到了这个问题，当时捣鼓了很久才搞定。没想到今天又遇到这个，很欣慰，于是写篇日志记录一下这个方]]></description>
</item>
<item>
	<title><![CDATA[用ASP获取客户端IP地址的方法]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65130.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:46:27 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[要想透过代理服务器取得客户端的真实IP地址，就要使用 Request.ServerVariables(&quot;HTTP_X_FORWARDED_FOR&quot;) 来读取。不过要注意的事，并不是每个代理服务器都能用 Request.ServerVariables(&quot;HTTP_X_FORWARDED_FOR&quot;) 来读取客户端的真实 IP，有些用此方法读取到的仍然是代理服务器的IP。还有一点需要注意的是：如果客户端没有通过代理服务器来访问，那么用 Request.ServerVariables (&quot;HTTP_X_FORWARDED_FOR&quot;) 取到的值将是空的。因此，如果要在程序中使用此方法，可以这样处理：<br/>]]></description>
</item>
<item>
	<title><![CDATA[ASP不用模板直接简单生成HTML页面]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65129.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:46:19 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[我这里提供一个简单的不用模板可以直接生成HTML静态页的方法. 
<br/>如一个正常的index.asp动态页面， 
<br/>新建一个文件 makeasp2html.asp 
<br/>&lt;form method=&quot;post&quot; action=&quot;&quot;&gt;&nbsp; <br/>&nbsp; &nbsp; &lt;textarea name=&quot;asp2html&quot; style=&quot;display:none&quot;&gt;&lt;!--#include file=&quot;index.asp&quot;--&gt;&lt;/textarea]]></description>
</item>
<item>
	<title><![CDATA[Asp网站之跨库查询]]></title>
	<link><![CDATA[http://www.blue1000.com/bkhtml/2009-09/65126.htm]]></link>
	<author><![CDATA[]]></author>	<pubDate>Thu, 17 Sep 2009 06:45:11 GMT</pubDate>
	<category><![CDATA[ASP教程]]></category>	<description><![CDATA[大家还记得mssql的跨库查询吧，其实在access中也可以实现2个数据之间的交叉查询。下面我就给大家介绍下access的跨库查询。
<br/>　　首先让我们看看在access里是怎样实现对mdb文件进行查询的，我们随便创建个空数据库，对数据库D:\daos\db\daidalos.mdb里的admin表的内容进行查询，SQL语句为：
<br/>　　SELECT * from admin in &quot;D:\daos\db\daidalos.mdb&quot;
<br/>]]></description>
</item>
</channel>
</rss>