public string[] printApplyPropertyDataBase(string tID) { PropertyDataBase pDB = new PropertyDataBase(); CreateApplyProperty getData =pDB.getApplyPropertyDataBase(tID); pDB.applyFunction(); if (int.Parse(pDB._StaffhaveRoles[3]) == 1 && getData.applyByID == HttpContext.Current.User.Identity.Name) { return pDB.printApplyPropertyDataBase(tID); } else { return new string[2] { _noRole, _errorMsg }; } }