Exemplo n.º 1
0
 public string GetRoomReal(object id)
 {
     try
     {
         if (id.ToString() == " ")
         {
             return("");
         }
         else
         {
             BLL.real_mode   rsbll = new BLL.real_mode();
             Model.real_mode model = rsbll.GetModel(Convert.ToInt32(id.ToString()));
             return(model.real_mode_name);
         }
     }
     catch (Exception ex)
     {
         return("");
     }
 }
Exemplo n.º 2
0
 //获得开房方式
 public string GetKffsName(int id)
 {
     BLL.real_mode   fmkffs = new BLL.real_mode();
     Model.real_mode model  = fmkffs.GetModel(Convert.ToInt32(id.ToString()));
     return(model.real_mode_name);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 读取开房方式
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 private string GetRealName(int id)
 {
     BLL.real_mode bllrm = new BLL.real_mode();
     return(bllrm.GetModel(id).real_mode_name);
 }
Exemplo n.º 4
0
 private string RealModel(int id)
 {
     BLL.real_mode bllrem = new BLL.real_mode();
     return(bllrem.GetModel(id).real_mode_name);
 }
Exemplo n.º 5
0
 protected string GetRealModel(int id)
 {
     BLL.real_mode bllrm = new BLL.real_mode();
     return(bllrm.GetModel(id).real_mode_name);
 }