//获得楼层 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); }