using System; using System.Collections.Generic; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace Mtxfw.WebSite._Admin { public partial class Admin_Member_company_info : Mtxfw.Utility.MemberBase { public Mtxfw.DAL.business_info daoBus = new Mtxfw.DAL.business_info(); DAL.user_Goods_lb daolb = new DAL.user_Goods_lb(); DAL.user_info daoUser = new DAL.user_info(); public Mtxfw.Utility.Config config = new Mtxfw.Utility.Config(""); public String TitName = String.Empty; public String CityID = String.Empty; public String CountyID = String.Empty; public string strimg = "", strBody = ""; public int gtype = 0; protected override void OnLoad(EventArgs e) { base.OnLoad(e); string hostname = Request.Url.Host; gtype = new DAL.host().GetId(hostname); Mtxfw.Model.business_info model = daoBus.GetModel(int.Parse(Request.QueryString["ID"])); if (model != null) { if (!IsPostBack) { Label_CompanyName.Text = model.CompanyName; Label_ContactPhone.Text = model.ContactPhone; Label_image1.Text = ""; Label_image2.Text = ""; Label_image3.Text = ""; Label_image4.Text = ""; Label_area.Text = new DAL.province().GetProvince(model.Province) + new DAL.city().GetCity(model.City) + new DAL.county().GetCounty(model.County); Label_CompanyAddress.Text = model.Companyaddress; xcoo.Value = model.xcoo; ycoo.Value = model.ycoo; } CityID = model.City; CountyID = model.County; strBody = model.Introduction; } } } }