WordPageForOnlyRead.aspx.cs
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:1k
- using System;
- using System.Data;
- using System.Configuration;
- using System.Collections;
- using System.Web;
- using System.Web.Security;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using System.Web.UI.WebControls.WebParts;
- using System.Web.UI.HtmlControls;
- //using Microsoft.Office.Interop.Word;
- using System.Text;
- public partial class Workflow_WordPageForOnlyRead : System.Web.UI.Page
- {
- protected string BaseUrl, ServerIP;
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!IsPostBack)
- {
- string mScriptName = "WordPageForOnlyRead.aspx";
- string mHttpUrl = "http://" + Request.ServerVariables["HTTP_HOST"] + Request.ServerVariables["SCRIPT_NAME"];
- BaseUrl = mHttpUrl.Substring(0, mHttpUrl.Length - mScriptName.Length);
- ServerIP = Request.ServerVariables["HTTP_HOST"];
- }
- }
- }