//获得楼层 public string GetRealTypelcmname(int id) { BLL.floor_manage rtbll = new BLL.floor_manage(); Model.floor_manage model = rtbll.GetModel(Convert.ToInt32(id.ToString())); string a = rtbll.GetModel(Convert.ToInt32(id.ToString())).floor_name; return(model.floor_name); }
public void Bind() { string id = Request.QueryString["id"].ToString(); if (id == "") { return; } else { txt_Flooer.Value = fmBll.GetModel(Convert.ToInt32(id)).floor_name; DDlLD.SelectedValue = fmBll.GetModel(Convert.ToInt32(id)).floor_sorting; } }