public DataTable GetOfficialPagingbyUser(string lang, int group, string strCate, PagingInfo _paging, string username, int isApproved, int status) { if (strCate != "") { strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); } OfficialDAO officialDAO = new OfficialDAO(); return(officialDAO.GetOfficialPagingbyUser(lang, group, strCate, _paging, username, isApproved, status)); }