摘要: <html><head> <script type="text/javascript"> function add() { var br = document.createElement("br"); var file = document.createElement("input"); var button = document.createElement("input"); file.type = "file"; file.name = "fil 阅读全文
posted @ 2012-07-08 22:37 要等闲阿 阅读(216) 评论(0) 推荐(0) 编辑
摘要: ./当前目录/网站主目录../上层目录~/网站虚拟目录如果当前的网站目录为E:\wwwroot应用程序虚拟目录为E:\wwwroot\company浏览的页面路径为E:\wwwroot\company\news\show.asp在show.asp页面中使用Server.MapPath("./")返回路径为:E:\wwwroot\company\newsServer.MapPath("/")返回路径为:E:\wwwrootServer.MapPath("../")返回路径为:E:\wwwroot\companyServer.MapPat 阅读全文
posted @ 2012-07-08 12:47 要等闲阿 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 前台页面:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> </div> <asp:Button ID="Button1" runat="server" 阅读全文
posted @ 2012-07-08 12:23 要等闲阿 阅读(9105) 评论(0) 推荐(0) 编辑
摘要: 代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using PPT = Microsoft.Office.Interop.PowerPoint;using System.IO;using System.Reflection; namespace WebPPT{ public partial class WebForm1 : System.Web.UI.Page ... 阅读全文
posted @ 2012-07-08 11:19 要等闲阿 阅读(362) 评论(0) 推荐(0) 编辑