using BLL; using System; namespace WordEdit { public partial class EditOffice : System.Web.UI.Page { public string url; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string cmd = Request.QueryString["cmd"]; var a = cmd.Split('|'); if (a[1] == "Companytemplate") { var model = BLL.Base_CompanytemplateService.GetBase_CompanyTemplateById(a[0]); string filepath = model.FilePath; url = Funs.SGGLUrl + filepath; } } } } }