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