public static IList <SurveyInfo> GetList(int startRowIndexId, int maxNumberRows, int searchType, string keyword) { if (((searchType == 1) || (searchType == 2)) && !string.IsNullOrEmpty(keyword)) { keyword = DataConverter.CDate(keyword).ToString("yyyy-MM-dd"); } return(dal.GetList(startRowIndexId, maxNumberRows, searchType, keyword)); }