示例#1
0
        public ActionResult Index()
        {
            DataTable      dt     = new DataTable();
            List <DataRow> result = new List <DataRow>();

            dt             = message.getList();
            ViewBag.result = DataConvert.toLists(dt);

            ViewBag.actionName     = actionName;
            ViewBag.controllerName = controllerName;
            ViewBag.alerts         = TempData["alerts"];
            return(View());
        }