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
关于html前台控件
前台控件只要加上runat=server就可以变成服务器端直接通过id获取到的控件;例如:input的上传文件控件:可以在cs代码区域这样将上传的文件存储:idFile.PostedFile.SaveAs(
Server.MapPath
净水涤人生
·
2011-08-03 09:27
web开发
职场
休闲
aspx获取绝对路径
获取网站根目录的方法有几种如:
Server.MapPath
(Request.ServerVariables["PATH_INFO"])
Server.MapPath
("
wsyxk
·
2011-07-31 16:00
绝对路径
asp.net(c#)下读取word文档的方法小结
复制代码代码如下:Response.ClearContent();Response.ClearHeaders();Response.ContentType="Application/msword";strings=
Server.MapPath
·
2011-07-11 21:43
C# 文件操作(上传 下载 删除 文件列表...)
System.IO.Path.GetFileName(this.FileUpLoad.PostedFile.FileName);//this.FileUpLoad.PostedFile.SaveAs(
Server.MapPath
fox123871
·
2011-07-11 16:00
在虚拟目录下使用KingCMS
get inst dim scriptname,l1,I1,I2,I3 if r_inst="" then I1=
server.mappath
阳韵圣
·
2011-07-08 09:00
cms
C# 添加,修改,删除文件夹/文件集合
C#追加文件 StreamWriter sw = File.AppendText(
Server.MapPath
(".
·
2011-07-02 15:00
文件夹
C# Winform 读取XML以及修改
Coyptooutputdirecotory:CopyalwaysXML:bluewinform方法://////读取默认皮肤//////publicstringReadDefaultSkin(){//
Server.MapPath
yanyanquan
·
2011-06-28 18:00
WinForm
XML
C
C++
C#
ASP.NET XML读取、增加、修改和删除操作
阅读更多C#—XML读取、增加、修改和删除操作1.xml文件格式如下:1.读取DataSetds=newDataSet();ds.ReadXml(
Server.MapPath
(@"Projects.xml
yanyanquan
·
2011-06-28 16:00
ASP.net
XML
.net
ASP
VSS
ASP.NET XML读取、增加、修改和删除操作
阅读更多C#—XML读取、增加、修改和删除操作1.xml文件格式如下:1.读取DataSetds=newDataSet();ds.ReadXml(
Server.MapPath
(@"Projects.xml
yanyanquan
·
2011-06-28 16:00
ASP.net
XML
.net
ASP
VSS
asp.net 生成静态页笔记
1.使用serever.Excute复制代码代码如下:StreamWritersw=newStreamWriter(
Server.MapPath
("html/Login.html"),false);Server.Execute
·
2011-06-09 23:40
.NET upload image
49c3c81b8819.html////上传图片/////////protectedvoidbtnUpLoad_Click(objectsender,EventArgse){try{stringtest=
Server.MapPath
gkvalley
·
2011-06-01 21:40
.NET
web
upload
.NET
C#中常用的经典文件操作方法
C#追加文件 StreamWriter sw = File.AppendText(
Server.MapPath
(".
songjg2010
·
2011-05-18 17:00
C++
c
.net
C#
J#
获取网站根目录
获取网站根目录的方法有几种如:
Server.MapPath
(Request.ServerVariables["PATH_INFO"])
Server.MapPath
("/")
Server.MapPath
(
any_421
·
2011-05-16 14:00
server对象的常用方法
路径测试"path_string1=
server.MapPath
("..
sitebuild
·
2011-05-07 14:11
职场
笔记
asp
休闲
sitebuild笔记
Jmil邮箱学习
快速掌握Jmail使用方法path=
Server.MapPath
("/images/logo.gif")SetJMail=Server.CreateObject("JMail.SMTPMail")JMail.ContentType
jiajinhao
·
2011-04-28 23:00
邮件服务器
html
email
服务器
string
encoding
学习----邮件库Jmail
IIS6.0服务器无法访问解决方案总结
而这些问题有些在过去的IIS5里面就遇到过,有些是新出来的,俺忙活了一下午,做了很多次试验,结合以前的排错经验,做出了这个总结,希望能给大家帮上忙:) 问题1:未启用父路径 症状举例:
Server.MapPath
fengzhizi2
·
2011-04-28 11:00
应用服务器
浏览器
asp.net
asp
IIS
IIS6.0 服务器没有开启父路径
是在网上不能正常连接,显示入下错误:
Server.MapPath
() 错误 'ASP 0175 : 80004005' 不允许的 Path 字符 /0709/dqyllhsub/news/OpenDatabase.asp
isiqi
·
2011-04-27 11:00
asp
IIS
AdRotator控件 FileUpload控件 Wizard控件
AlternateText鼠标经过广告时的显示ImageUrl要显示的图像的URLNavigateUrl单击AdRotator控件时要转到的网页的URLAlternateText图像不可用时显示的文本FileUpload控件
Server.MapPath
itxiaoliu
·
2011-04-20 15:17
.net
控件
FileUpload
.net笔记
AdRotator控件 FileUpload控件 Wizard控件
AlternateText鼠标经过广告时的显示ImageUrl要显示的图像的URLNavigateUrl单击AdRotator控件时要转到的网页的URLAlternateText图像不可用时显示的文本FileUpload控件
Server.MapPath
itxiaoliu
·
2011-04-20 15:17
.net
fileupload
控件
wizard
AdRotator
后台生成静态文件(替换法)
nbsp; //源码是替换掉模板中的特征字符 string mbPath =
Server.MapPath
walleyekneel
·
2011-04-16 13:00
html
C# 读取Excel数据到DataSet
/// ///读取Excel数据到DS /// ///xls文件路径(服务器物理路径)stringRootDir=
Server.MapPath
(System.Web.HttpContext.Current.Request.ApplicationPath.ToString
dannywj1371
·
2011-04-14 20:00
工作
String
properties
Excel
C#
dataset
C#获取服务器物理路径(解决方案根目录)
stringRootDir=
Server.MapPath
(System.Web.HttpContext.Current.Request.ApplicationPath.ToString());//获取程序根目录
dannywj1371
·
2011-04-14 19:00
String
C#
服务器
C#操作XML(三)
4,修改结点 XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load(
Server.MapPath
("database.xml") ); XmlNodeList
f416225054
·
2011-04-12 11:24
xml
C#
休闲
C#操作XML
操作XML节点
C#操作XML(二)
2,添加结点: XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load(
Server.MapPath
("database.xml")); XmlNode
f416225054
·
2011-04-12 11:15
xml
C#
休闲
C#操作XML
操作XML节点
Asp技巧:删除文件夹、创建文件夹代码
CallCreateFolder(strFolder)FunctionDeleteFolder(strFolder)'首选判断要建立的文件夹是否已经存在DimstrTestFolder,objFSOstrTestFolder=
Server.Mappath
razorluo
·
2011-04-03 16:00
在ASP.NET中实现如何下载txt及xml文件的方法.
string destFileName = "ok.txt"; destFileName =
Server.MapPath
(".
tankywang
·
2011-03-23 10:00
xml
.net
asp.net
asp
aspjpeg组件使用详解
更多不常用的方法介绍 以及相关的一些实用技术 一、图片缩略 <% Set Jpeg = Server.CreateObject("Persits.Jpeg") 调用组件 Path =
Server.MapPath
bhw1015
·
2011-03-22 20:00
asp
c#调用excel模板页,然后套用模板页导出单个sheet
sheetprotectedvoidbtn_Export_Click(objectsender,EventArgse) { ////删除保存在服务器的数据 //stringpath1=
Server.MapPath
I believe
·
2011-03-21 13:00
ASP.NET中
Server.MapPath
() 和 Request.MapPath()使用区别(于三份资料中提取)
一、ASP.NET中
Server.MapPath
() 和 Request.MapPath()使用区别:
Server.MapPath
(string) :是将相对于当前调用文件的文件(或目录)映射为物理路径
zoohouse
·
2011-03-17 16:00
Web
String
server
database
asp.net
Access
ASP.NET中
Server.MapPath
() 和 Request.MapPath()使用区别(于三份资料中提取)
一、 ASP.NET中
Server.MapPath
()和Request.MapPath()使用区别:
Server.MapPath
(string):是将相对于当前调用文件的文件(或目录)映射为物理路径
isiqi
·
2011-03-17 16:00
.net
Web
C#
asp.net
asp
Asp.Net Mvc中的一些初级问题整理(转)
方法即可01publicvoidDeleteData() 02{ 03 using(SQLiteConnectionconn=newSQLiteConnection("DataSource="+
Server.MapPath
liweibird
·
2011-03-09 22:37
mvc
职场
table
休闲
asp.net 读取XML并查询
DimUploadDataSetAsDataSet=NewDataSetUploadDataSet.ReadXml(
Server.MapPath
("uploadConfig.xml"))DimrowAsDataRowWithUploadDataSet.Tables
zhichao2001
·
2011-03-08 10:00
ASP操作XML文件的完整实例代码
---------------------dimXMLMorntekDocumentfunctionConnectXml(filename)dimstrSourceFilestrSourceFile=
Server.MapPath
·
2011-02-27 15:08
XPathDocument的相关用法(待整理)
主题内容内容xpath.aspxpublicvoidPage_Load(Objectsrc,EventArgse){ XPathDocumentdoc=newXPathDocument(
Server.MapPath
zoohouse
·
2011-02-24 17:00
String
object
C#
Class
import
encoding
.NET简易修改XML文件
// 读取XML文件 DataSet ds = new DataSet(); ds.ReadXml(
Server.MapPath
("CompanyInfo.xml
walleyekneel
·
2011-02-07 14:00
xml
.net
[Asp.Net]在线阅读文件
stringfileName="201096218686";stringp="201096198974.pdf";//定义文件名stringfilePath=
Server.MapPath
("DataFile
david_520042
·
2011-01-28 12:00
String
session
report
文档
2010
在线阅读文件
stringfileName="201096218686";stringp="201096198974.pdf";//定义文件名stringfilePath=
Server.MapPath
("DataFile
wsql
·
2011-01-28 12:00
在线阅读
.net中下载文件的方法 WriteFile实现下载
string fileName = "chracater14.jpg";//客户端保存的文件名 string filePath =
Server.MapPath
盐汽水真好喝
·
2011-01-04 15:00
.net
C#添加修改删除文件文件夹大全
StreamWriter sw = File.AppendText(
Server.MapPath
(".
·
2010-12-23 09:00
文件夹
C#怎样用excel.dll读取excel文件
publicDataTableReadExcelToTable(stringfilepath) { stringexcelfilePath=
Server.MapPath
(
isolated
·
2010-12-22 11:00
Lucene.net 简单例子
建立索引 /// /// public void CreateIndex() { string indexPath =
Server.MapPath
·
2010-12-02 18:00
Lucene
asp.net 创建文本 并下载
=newobject();//锁对象try{Listlst=SaleOrderManager.GetSuccCardByOrderNo(lblOrderNo.Text);stringfilePath=
Server.MapPath
vip__888
·
2010-11-27 16:00
exception
object
String
服务器
asp.net
下载工具
asp.net 生成静态网页
//生成静态网页stringpath=
Server.MapPath
("~/news/"+folder+"/");stringfile_template_name=
Server.MapPath
("~/news
hongsejiaozhu
·
2010-11-24 16:00
exception
String
File
asp.net
Path
Hyperlink
asp.net操作XML
XmlTextReader读XML文件 protected void Page_Load(object sender, EventArgs e) { string xmlFile =
Server.MapPath
heyaweicto
·
2010-11-23 14:13
xml
.net
asp.net
休闲
XmlTextReader
关于win2003+iis服务器故障处理和设置问题
关于win2003+iis服务器故障处理和设置问题问题1:未启用父路径症状举例:
Server.MapPath
()错误'ASP0175:80004005' 不允许的Path字符 /0709/dqyllhsub
zbcfz
·
2010-11-16 10:14
休闲
IIS服务器
基本身份验证
服务器维修
ASP的Web扩展
FileUpload
获得服务器路径stringpath=
Server.MapPath
("~/bc/");if(!
suntanyong88
·
2010-11-10 15:00
server
File
upload
asp
Path
button
ASP.NET 2.0(C#)文件上传
ASP.NET2.0(C#)使用控件FileUpload实现文件上传:上传代码:if(FileUpload1.HasFile) { FileUpload1.SaveAs(
Server.MapPath
zzy7075
·
2010-11-02 09:00
输出二进制图像
protected void Page_Load(object sender, EventArgs e) { //打开图片文件,并保存在文件流中 FileStream stream = new FileStream(
Server.MapPath
webcode
·
2010-10-28 09:00
二进制
JavaScript获得当前文件的路径
JavaScript获得当前文件的路径在ASP.NET中,获得文件的物理路径可以使用
server.mapPath
()方法得到,而在JavaScript中则是没有这个方法的,这里给出JavaScript如何获得文件的路径
wrhwww
·
2010-10-21 09:00
数据库连接代码
Server.Createobject("adodb.connection") adoconn.Open"Driver={MicrosoftAccessDriver(*.mdb)};DBQ="&_
Server.MapPath
裴双才
·
2010-10-14 13:57
代码
数据库
职场
休闲
上一页
15
16
17
18
19
20
21
22
下一页
按字母分类:
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
其他