[ASP/.NET]
编译器错误信息: CS0016: 未能写入输出文件“c:\
日期:2010-07-08 21:32:09
点击:178
好评:0
编译错误 说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误消息: CS0016: 未能写入输出文件c:\Windows\Microsoft.N...
[ASP/.NET]
常规ASP命名规则——ASP编码规范
日期:2010-05-05 08:35:11
点击:64
好评:0
一、 命名规则 1. 全局 所有缩写全部使用大写,比如:ID、IP、DB 所有单词开头字母大写,比如:Request 2. 文件名: 文件名称统一用英文字母、数字和下划线的组合。 3. 变量名: 第一个...
[ASP/.NET]
conn.execute的用法
日期:2010-03-29 21:03:00
点击:66
好评:0
conn.execute、rs.open之间的差别conn.execute、rs.open、command.execute方法用法大大不同 通常形成记录集可以使用 Set rs=conn.execute(SQL) 或直接 rs=CONN.execute(SQL) 和 Set rs=Server.CreateObject(ADODB.Recordset)...
[ASP/.NET]
ASP编程代码:隐藏图片的真实地址
日期:2010-03-29 21:02:29
点击:76
好评:0
一般情况下,网站的图片代码是这样的。 img src=./attachments/test.jpg / 右键点击图片,选择属性就可以看到图片的真实地址。这样就让其它网站有机可乘,盗链您网站的图片。我们可以利用...
[ASP/.NET]
Asp无组件生成缩略图
日期:2010-03-29 21:01:44
点击:184
好评:0
首先,我们知道在页面中显示图片是如下代码: img src=pic.gif border=0 width=300 height=260 src是图片路径,border控制图片边缘宽度,width是图片的长度,height是图片的高度。缩略图的生成其实就...
[ASP/.NET]
FCKeditor 调用方法 ASP JS
日期:2010-03-29 21:00:31
点击:172
好评:0
FCKeditor asp调用方法1 !-- #INCLUDE file=FCKeditor/FCKeditor.asp -- form action=sampleposteddata.asp method=post target=_blank % Dim oFCKeditor Set oFCKeditor = New FCKeditor oFCKeditor.BasePath = /FCKeditor/ oFCKeditor.ToolbarSet = Def...
[ASP/.NET]
ASP程序员必备的知识
日期:2010-03-14 14:41:02
点击:63
好评:0
以下为引用的内容: 数据库连接: % set conn=server.createobject(adodb.connection) conn.open driver={microsoft access driver (*.mdb)};dbq=server.mappath(数据库名) % 打开数据库: exec=select * from 数据库表 set rs=...
[ASP/.NET]
ASP 把汉字转换成拼音字母
日期:2010-03-14 14:40:01
点击:122
好评:1
% Function Getpy(Txt) Dim d,TmpTxt Dim wzcode,i,TmpWZ,a,b,ii Set d = CreateObject(Scripting.Dictionary) d.add a,-20319 d.add ai,-20317 d.add an,-20304 d.add ang,-20295 d.add ao,-20292 d.add ba,-20283 d.add bai,-20265 d.add ban,-20257 d.add...
[ASP/.NET]
ASP导出为Doc,Excel
日期:2010-03-14 14:39:16
点击:97
好评:0
Excel % Response.ContentType =application/vnd.ms-excel Response.AddHeader Content-Disposition, attachment; filename=表.xls % Doc % Response.ContentType =application/vnd.ms-word Response.AddHeader Content-Disposition, attachment; filename=文...
[ASP/.NET]
文章摘要自动生成方法
日期:2010-03-14 14:38:26
点击:268
好评:2
获取内容,内容按换行回车分隔,组合分隔内容并判断长度是否超出指定的长度,最后闭合HTML标签(来源Z-Blog中的摘要功能) 参考代码: Const Des_MAX=250 Dim Des,Content Des=Request.Form(Des) C...