コード例 #1
0
        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());
        }
コード例 #2
0
 public ActionResult Index()
 {
     ViewData["CmbValue"] = "Blue";
     return(View(LargeDatabaseDataProvider.GetColors()));
 }