public ActionResult ExportTo(string filterString) { CriteriaOperator filterCriteria = CriteriaOperator.Parse(filterString); IList <Email> emails = LargeDatabaseDataProvider.GetEmailsByFilter(filterCriteria); XtraReport1 report = new XtraReport1(); report.DataSource = emails; ExportReport(report, "largeData", true, "Xlsx"); return(GridViewPartial()); }
public ActionResult Index() { ViewData["CmbValue"] = "Blue"; return(View(LargeDatabaseDataProvider.GetColors())); }