Ejemplo n.º 1
0
 public string[] searchApplyPropertyDataBaseCount2(SearchApplyProperty searchApplyData)
 {
     //SearchApplyProperty searchApplyData = new SearchApplyProperty();
     searchApplyData.txtapplyType = "1";
     searchApplyData.txtapplyStatus = "1";
     PropertyDataBase pDB = new PropertyDataBase();
     return pDB.SearchApplyPropertyDataCount(searchApplyData);
 }
Ejemplo n.º 2
0
 public string[] searchApplyPropertyDataBaseCount(SearchApplyProperty searchApplyData)
 {
     PropertyDataBase pDB = new PropertyDataBase();
     pDB.applyFunction();
     if (int.Parse(pDB._StaffhaveRoles[3]) == 1)
     {
         return pDB.SearchApplyPropertyDataCount(searchApplyData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }