E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Server.MapPath
用ASP+FSO生成JS文件
addate&""js.movenextloop'生成JS文件foolcat=""+foolcat+""foolcat="document.write('"&foolcat&"')"FolderPath=
Server.MapPath
·
2006-11-16 00:00
如何让计数器只对新进用户计数?
subapplication_onstartfilepath=
server.mappath
("/count")filename=filepath+"\counter.txt"setfs=createobject
·
2006-11-16 00:00
如何简单地上传文件?
SubUploadBtn_Click(SenderasObject,EasEventArgs)UploadFile.PostedFile.SaveAs(
Server.MapPath
("chunfeng.jpg
·
2006-11-16 00:00
如何在线更改密码?
Response.EndEndIfSetconn=Server.CreateObject("ADODB.Connection")DBPath=
Server.MapPath
("userinfo.mdb")
·
2006-11-16 00:00
如何获知文件被改动的情况?
sFile)DimobjFileObj,objFileSetobjFileObj=CreateObject("Scripting.FileSystemObject")IfsFile=""ThensFile=
Server.MapPath
·
2006-11-16 00:00
如何一行行地读取文件?
diminput(30)'定义一个数组,大小可随时更改.这里为了显示方便.file_path=
Server.Mappath
("index.html")Setfs=Server.CreateObject(
·
2006-11-16 00:00
如何实现全文检索?
falseResponse.Write""dowhilenotrcst1.eoftit=rcst1.fields("file_title")fn=rcst1.fields("file_name")file_name=
Server.MapPath
·
2006-11-16 00:00
asp读取xml文件
复制代码代码如下:strSourceFile=
Server.MapPath
(dataxml&"/Advertisement/"&id&"/adv.xml")SetobjXML=Server.CreateObject
·
2006-11-15 00:00
asp读取xml文件和记数
复制代码代码如下:ifisnumeric(id)=falsethenexitsubstrSourceFile=
Server.MapPath
(dataxml&"/Advertisement/"&id&"/
·
2006-11-15 00:00
asp.net 2.0 FileUpload控件的简单使用
btnUpload_Click(object sender, EventArgs e) ...{ bool fileOK = false; string path =
Server.MapPath
veiny
·
2006-11-12 17:00
在asp.net中读取XML文件信息的4种方法
方法二:使用DOM技术 voidPage_Load(Objectsender,EventArgse) { XmlDocumentdoc=newXmlDocument(); doc.Load(
Server.MapPath
·
2006-10-13 21:00
asp.net
Win2003_IIS6服务器设置排错解答
架网站的时候遇到不少问题,而这些问题有些在过去的iis5里面就遇到过,有些是新出来的,俺忙活了一下午,做了很多次试验,结合以前的排错经验,做出了这个总结,希望能给大家帮上忙:)问题1:未启用父路径症状举例:
server.mappath
achuan
·
2006-10-10 09:07
服务器
职场
IIS
排错
休闲
找不到类型或命名空间名称“Server”(是否缺少 using 指令或程序集引用?)
DataBase=
Server.MapPath
("data.mdb");报错:找不到类型或命名空间名称“Server”(是否缺少using指令或程序集引用?)
·
2006-10-06 00:00
用ASP.NET实现简单的文字水印
代码如下:DimFilePathAsString=
Server.MapPath
("FengEr.jpg")SubPage_Load(SenderAsObject,EAsEventArgs)DimimageAsSystem.Drawing.Image
·
2006-09-28 00:00
DW2004连接数据库问题的解决
DW2004连接数据库问题的解决在Dreamweavermx2004中自定义连接字符串的时候连接字符串为Provider=Microsoft.Jet.OLEDB.4.0;DataSource=&
Server.MapPath
tomtom
·
2006-09-17 22:00
asp中通过getrows实现数据库记录分页的一段代码
objConn.Open"DSN=MP3"dimconnstrdimdbdb="csnjimageman.mdb"connstr="Provider=Microsoft.Jet.OLEDB.4.0;DataSource="&
Server.MapPath
·
2006-09-03 00:00
讀取指定文件的路徑
在page是可以用
Server.MapPath
("test.xml")得到指定文件的路徑,但是在module中用這個是不允許的,不知道有沒其它方法得到指定文件的路徑在module加个属性
·
2006-08-25 09:00
文件
.net讀取指定節點的值
Dim reader As XmlTextReader = New XmlTextReader(
Server.MapPath
("xml/server.xml"))  
·
2006-08-23 11:00
.net
C#常用的文件操作
常用的文件操作C#写入/读出文本文件public void Page_Load(Object src,EventArgs e) { StreamWriter rw = File.CreateText(
Server.MapPath
BEN1978
·
2006-08-21 10:00
ASP编程实用20例
centerfontsize=4face=ArialbThePhysicalpathtothisvirtualwebsiteisbfontfontcolor=#FF0000size=6face=Arial%=
Server.MapPath
·
2006-07-17 00:00
解决ASP(图像)上传漏洞的方法
针对此情况使用下列函数进行辨别:0thenCheckFileType=falseendfunction%>那么在应用的时候CheckFileType(
server.mappath
("cnbruce.jpg
cncco
·
2006-07-15 10:00
ASP
在asp.net中读取XML文件信息的4种方法
方法二:使用DOM技术 voidPage_Load(Objectsender,EventArgse) { XmlDocumentdoc=newXmlDocument(); doc.Load(
Server.MapPath
·
2006-07-09 10:00
asp.net
Asp生成HTML方法大全
方法一:FSOSetfs=CreateObject("Scripting.FileSystemObject")NewFile=
Server.MapPath
("/asp/chap06/at/newfile.html
·
2006-06-23 00:00
为什么数据库可以连接上,却写不进数据库东西啊
protectedvoidPage_Load(objectsender,EventArgse){StringStrConn="provider=Microsoft.Jet.OLEDB.4.0;datasource='"+
Server.MapPath
no1_li
·
2006-06-07 20:00
关于httpcontext实际使用时出现的一个问题
在一次实际开发过程中,需要同步服务器上的用户,用户同步是通过XML文件来获取,当时还有一个配置文件也是xml文件放在本地,这个时候就需要使用到
Server.MapPath
功能或HttpContext.current.server.mappath
李.net
·
2006-05-24 17:00
关于httpcontext存在时期
在一次实际开发过程中,需要同步服务器上的用户,用户同步是通过XML文件来获取,当时还有一个配置文件也是xml文件放在本地,这个时候就需要使用到
Server.MapPath
功能或HttpContext.current.server.mappath
李.net
·
2006-05-24 17:00
数据库链接
server.createobject("ADODB.connection") setcon.connectionstring="provider=microsoft.jet.OLEDB.4.0;datasource="&
server.mappath
·
2006-05-20 23:00
数据库链接
asp.net连接Access数据库
DimmyCommandAsOleDbCommand subpage_load(senderasObject,easEventArgs) '1.连接数据库 dimdbnameasstring dbname=
server.mappath
JOHNCOOLS
·
2006-04-26 20:00
Asp.Net缓存Cache使用一例
newDataSet(); OleDbConnectionconn=newOleDbConnection("provider=microsoft.jet.oledb.4.0;datasource="+
Server.MapPath
ITFLY8
·
2006-04-12 15:00
:IIS6.0服务器无法访问解决方案总结
摘自:http://www.paimm.com/blog/user1/server/archives/2006/747.shtml问题1:未启用父路径症状举例:
Server.MapPath
()错误'ASP0175
刘民
·
2006-04-05 15:00
利用Asp.net IO.File类完成文件新建复制删除操作(代码调试通过)
privatevoidButton1_Click(objectsender,System.EventArgse) {//新建文件 stringpath=
Server.MapPath
("index4
ITFLY8
·
2006-04-02 15:00
[转] C#下 读取xml节点的数据总结
读: //打开某文件(假设web.config在根目录中) string filename=
Server.MapPath
("/") + @"WebApplication1\web.config
e旋风
·
2006-03-13 19:00
Asp.Net(C#)利用XPath解析XML文档示例
内容内容xpath.aspxpublic void Page_Load(Object src,EventArgs e){ XPathDocument doc = new XPathDocument(
Server.MapPath
JOHNCOOLS
·
2006-03-05 21:00
xml
server
C#
asp.net
文档
encoding
ADO.NET数据库连接代码(调试通过)(OLEDB SQL SERVER ODBC Oracle)
System.EventArgse) { StringOleDbConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;DataSource="+
Server.MapPath
ITFLY8
·
2006-02-21 13:00
oracle
sql
数据库
exception
server
String
object
最新MDB数据库操作大全(自己搜集整理基本上很全了)
;history.back(-1);") response.End() else ifTruePath=0then FolderPath=
server.MapPath
(RootPath)
xqf222
·
2006-01-13 13:00
分别用DataGrid、Repeater、DataList绑定XML数据的例子
eAsEventArgs) Dimfs AsFileStream DimreaderAsStreamReader DimPath AsString Path=
Server.MapPath
飞鼠
·
2005-12-29 13:00
动态网站页面的静态生成方法
Http.responseBody,"UTF-8")set http=nothingif err.numberalert("静态网页生成完毕");history.back();方法二: resourcefile=
server.MapPath
zhaohongwei
·
2005-11-27 18:00
ASP制作留言簿所需的资料!
1、连接字符串:"Provider=Microsoft.Jet.OLEDB.4.0;DataSource="&
Server.MapPath
("/数据库名称,注意路径问题")2、获取对方IP地址的值:注:
烂漫时空
·
2005-11-09 14:00
Asp无组件生成缩略图 [2]
当然,有人会说,获取路径不一定要用PATH_INFO,直接用
server.mappath
()不就可以了嘛,呵呵,萝卜青菜各有所爱,主要是我用PATH_INFO可以实现FSO的一些功能而用serve
zhaohongwei
·
2005-10-13 13:00
数据库
Flash
asp
Path
asp生成shtml原代码样本!
FilePath,Do_Urlid = Trim(Request("id"))FileName = "Index.shtml" '生成的文件名FilePath =
Server.MapPath
wapysun
·
2005-09-29 15:00
html
ASP实现结构化列举并查看某路径下所有文件
endif mappath=
Server.MapPath
("/"&path)ifFso.folderexists(mappath)=falsethen response.write"路径:http:
hz932
·
2005-08-26 16:00
iframe
服务器
VBScript
asp
Path
each
静态页面的生成
override void Render(HtmlTextWriter writer) { StreamWriter r=new StreamWriter(
Server.MapPath
leeight
·
2005-08-19 08:00
html
静态页面的生成
阅读更多protectedoverridevoidRender(HtmlTextWriterwriter){StreamWriterr=newStreamWriter(
Server.MapPath
(StaticFileName
leeight
·
2005-08-19 08:00
HTML
[转]win2003_iis6服务器设置排错解答
架网站的时候遇到不少问题,而这些问题有些在过去的IIS5里面就遇到过,有些是新出来的,俺忙活了一下午,做了很多次试验,结合以前的排错经验,做出了这个总结,希望能给大家帮上忙:)问题1:未启用父路径症状举例:
Server.MapPath
drwei
·
2005-06-09 10:00
技术文档-软件
数据库
IIS 6 常见问题解答
架网站的时候遇到不少问题,而这些问题有些在过去的IIS5里面就遇到过,有些是新出来的,俺忙活了一下午,做了很多次试验,结合以前的排错经验,做出了这个总结,希望能给大家帮上忙问题1:未启用父路径症状举例:
Server.MapPath
ccna30
·
2005-05-21 14:04
职场
休闲
IIS 6 常见问题解答
架网站的时候遇到不少问题,而这些问题有些在过去的IIS5里面就遇到过,有些是新出来的,俺忙活了一下午,做了很多次试验,结合以前的排错经验,做出了这个总结,希望能给大家帮上忙问题1:未启用父路径症状举例:
Server.MapPath
ccna30
·
2005-05-21 14:04
职场
休闲
asp常用数据库连接方法和技巧
dimconn,mdbfilemdbfile=
server.mappath
("数据库名称.mdb")setconn=server.createobject("adodb.connection")conn.open"driver
Dove.Net
·
2005-04-28 12:00
asp.net连接Access数据库例子
DimmyCommandAsOleDbCommand subpage_load(senderasObject,easEventArgs) '1.连接数据库 dimdbnameasstring dbname=
server.mappath
husn
·
2005-04-26 19:00
关于"截取动网BBS的用户密码"一文的校正
FunctionDvbbs_ChkLogin后面加上Code:dimdbpath,rstmp,str,rs,consetcon=server.createobject("adodb.connection")DBPath=
Server.MapPath
chenitx
·
2005-04-24 13:00
脚本编程
开发WEB站点编程常用的代码[ZT]
开发WEB站点编程常用的代码[ZT]1.ASP与Access数据库连接:dim conn,mdbfile mdbfile=
server.mappath
("数据库名称.mdb") set conn=server.createobject
飞龙在天
·
2005-04-16 09:00
上一页
22
23
24
25
26
27
28
29
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他