DaiBan.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 DaiBan : System.Web.UI.Page
- {
- protected string BaseUrl, ServerIP,SUserName;
- private void Page_Load(object sender, System.EventArgs e)
- {
- if (!IsPostBack)
- {
- string mScriptName = "DaiBan.aspx";
- string mHttpUrl = "http://" + Request.ServerVariables["HTTP_HOST"] + Request.ServerVariables["SCRIPT_NAME"];
- BaseUrl = mHttpUrl.Substring(0, mHttpUrl.Length - mScriptName.Length);
- SUserName = Request.QueryString["strUName"];
- ServerIP = Request.ServerVariables["HTTP_HOST"];
- Session["fname"] = "filenamedoc.doc";
- }
- }
- }