@using MySystem.Models; @{ExportExcels editData = ViewBag.data as ExportExcels;} @{ string RightInfo = ViewBag.RightInfo as string; string right = ViewBag.right as string; }