2007-3-1 22:33:00
1、什么是AspJpeg?
AspJpeg是一款功能强大的基于Microsoft IIS环境的图片处理组件,网络上对其进行详细和深入介绍的中文文章并不多,即使有一般也只是牵涉到图片缩略图和图片水印,这与其为英文版本有着密切的关系。
AspJpeg可以使用很少的代码在您的ASP/ASP.Net应用程序上动态的创建高质量的缩略图象,.. |
2007-2-28 15:28:00
<!-- body { color: #000000; background-color: #FFFFFF; } .vbs1-comment { color: #008000; } .vbs1-identifier { color: #000000; } .vbs1-number { color: #800080; } .vbs1-reservedword { color: #0000FF; } .vbs1-string { color: #800000; } .vbs1-symbol { color: #000080; } .vbs1-whitespace { } -->
.. |
2007-2-28 11:20:00
<%
'字段内网址加上联接。
ToLink(Str)
RE '正则表达式对象
strContent
If Then = ""
RE = RegExp '创建正则表达式对象
RE.. |
2006-12-11 15:34:00
DateValue函数
返回一个 Variant
语法
DateValue(
必要的 date date
说明
如果 date
如果 date
如果 date |
2006-12-1 15:40:00
<%
Function AutoKey(strKey)
Const lngSubKey=2
lngLenKey=Len(strKey)
Select Case lngLenKey
Case 0 '若为空串,转到出错页
. "Error.htm"
Case 1 '若长度为1,则不设任何值
strNew1=""
strNew2=""
Case Else '若长度大于1,则从字符.. |
2006-11-30 9:48:00
<一>数据库的连接方法:
1.Access数据库的DSN-less连接方法:
set adocon=Server.Createobject("adodb.connection")
adoconn.Open"Driver={Microsoft Access Driver(*.mdb)};DBQ="& _
&n.. |
2006-11-29 21:56:00
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; Charset=gb2312" />
<title>ASP vbs 代码大小写规范-http://www.yongfa365.com/item/749527cce93b7c5d.htm</title>
</head>
.. |
2006-11-29 15:37:00
' ////////////////////////////////////////////////FSO操作/////////////////////////////////////
' 判断文件夹是否存在
Function FolderExits(Folder)
Folder = Server.Mappath(Folder)
Set FSO = Server.CreateObject( " Scripting.FileSystemObject " )
.. |
2006-11-28 17:32:00
Function BoldWord(strContent,word)
dim objRegExp
Set objRegExp=new RegExp
objRegExp.IgnoreCase =true
objRegExp.Global=True
objRegExp.Pattern="(" & word & ")"
strContent=objR.. |
2006-11-28 16:51:00
原名:在MsSql、Access两种数据库中插入记录后马上得到自动编号的ID值
本编文章将要介绍重点解释如何在Ms Sql Server中更新或添加一条记录后立即得到其标识列的值,这个值在ACCESS就是我们熟知的自动编号的
ID值,好了,闲话不多说,代码我也不多写,只写关键些,相信各位高手一看就明白,呵呵。后面也附带了在.. |
2006-11-28 16:05:00
一、系统没有开启FSO组件
系统没有开启FSO组件.
FSO组件的开启和关闭方法
Dll 文件的注册和注销:
运行cmd命令
注消FSO组件:RegSvr32 /u %windir%\SYSTEM32\scrrun.dll
启用FSO命令:RegSvr32 %windir%\SYSTEM32\scrrun.dll
二、多次注消、启动后还是出现错误,原因是没权限,不知道怎么造成的,下边提供.. |
2006-11-28 16:04:00
错误提示:
ADODB.Recordset 错误 '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.
/index.asp,行15
错误原因:服务器上安装动易组件最新组件,但网站系统是用的4.0,系统没有找到相应的字段。动易组件从4.02开始向下兼容,但不兼容4.0。
解决方法:请在.. |
2006-11-28 11:50:00
这是一个简短的分页显示的例子:
<%language="vbscript"
set conn=server.createobject("adodb.connection")
conn.oen "driver={sql server};server=huang;uid=sa;pwd=;database=test"
<%pgsize=5
page=request.querystring("page")
sql="select *.. |
2006-11-28 10:59:00
'判断文件夹是否存在
Function FolderExits(Folder) Folder = Server.MapPath(Folder) Set FSO = Server.CreateObject("Scripting.FileSystemObject") If FSO.FolderExists(Folder) Then FolderExits = True Else FolderExits = False End If End Function |
2006-11-27 10:59:00
MoveFirst
使当前记录成为记录集内第一条记录。
MoveLast
使当前记录成为记录集内最后一条记录。
MoveNext
使当前记录成为记录集内下一条记录。
MovePrevious
使当前记录成为记录集内前一条记录
Move n
从当前记录开始向下移动N次 |
|
|
| |
文章分类 |
|
|
|