public List <SupplierInfo> Search(string keysearch, ref decimal p_total_record, string p_from = "1", string p_to = "10") { List <SupplierInfo> list = new List <SupplierInfo>(); SupplierDA _da = new SupplierDA(); try { list = CBO <SupplierInfo> .FillCollectionFromDataSet(_da.Search(keysearch, p_from, p_to, ref p_total_record)); } catch (Exception ex) { NaviCommon.Common.log.Error(ex.ToString()); list = new List <SupplierInfo>(); } return(list); }