獲取URL:
重點:
HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.ApplicationPath
Code
string strHref = string.Format("http://{0}?SignID={1}&CID={2}&FID={3}&EntID={4}&ID={5}", HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.ApplicationPath + "/BaseForm/FormHandler.aspx", signID, mailerID, flowID, enterpriseID, empID);