string preURL = Server.MapPath(DIR.DIR_EQUIPMENTUPDATE_URL); //自定义页面路径
string url = Request.UrlReferrer.ToString();
测试结果如下:
preURL "E:\\PROJECTS\\系统\\UI2011-07-23\\TechTransDeptSystem\\ProjectImplement\\EquipmentManagement\\EquipmentUpdate.aspx"
url http://localhost:27086//UI2011-07-23/HomePageTechTrans.aspx