public List <T> GetExport(DataSourceRequest request, string whereCondition, string status, int curruserid) { List <SqlParameter> param = new List <SqlParameter>(); param.Add(new SqlParameter("@Page", 1)); param.Add(new SqlParameter("@PageSize", CustomModel.GetExportPageSize())); param.Add(new SqlParameter("@wherecondition", whereCondition)); param.Add(new SqlParameter("@status", status)); param.Add(new SqlParameter("@curruserid", curruserid)); param.Add(new SqlParameter("@sort", CustomModel.GetSortStringFormRequest(request))); return(CustomModel.ConvertDataTable <T>(new SqlHelper().ExecuteQuery("p_Product_Search", param))); }