Archive for the ‘ASP’ Category

Thursday, June 10th, 2010 at 20:36 | 2 comments
Categories: ASP
Tags: ,

调用:

db.query("select * from News")

Read More: 1352 Words Totally

Monday, June 7th, 2010 at 20:30 | 1 comment
Categories: ASP
Tags:

半年前写的一个ASP的分页函数

<%sub fanye(sql,n,col,wid,orderbycol,ifID,ifop,opname,opurl,opqstr,fyurl,sqlcol,rec,col_a,col_url,col_qstr,col_alname,col_align,defaultorderby)

Read More: 1493 Words Totally

Sunday, November 30th, 2008 at 01:23 | 0 comments
Categories: ASP
Tags: ,

昨天用FCKeditor做一个东西,碰到编码的问题,由于开始根本就没有发现问题的所在,头天也没有解决,后来经过仔细思考后终于解决

问题是这样的:

我在用asp写一个网站的后台管理,没有用FCKeditor的时候发现汉字的显示一切正常.但是当调用了FCKeditor后,发现汉字就显示不正常了. 但是当时并没有注意到并不所有的汉字的显示都有问题, 我的第一反应就是编码的问题,去网上搜了一下,说是FCKeditor所用的UTF-8编码和网页编码用的GB2312的编码问题,有人说都改成GBK,也有人说用函数进行转换一下,还有的说用记事本将汉字存为UTF-8格式,我只试了第一种方法,并不凑效,同时我觉得其他两种方法在原理上和第一种方法应该差不多,便没有再试下去.

Read More: 531 Words Totally

Saturday, November 29th, 2008 at 01:15 | 2 comments
Categories: ASP
Tags: ,

subject="审核通过!"

body="<B>XXXXXX公司欢迎您。</B> " _

&"<B>您的用户名:111,密码:111</B> " _

Read More: 838 Words Totally

Wednesday, November 26th, 2008 at 00:50 | 0 comments
Categories: ASP
Tags:
TOP