I have this view: MyView.cshtml
@using System.Data @{ Layout = null; DataTable dt = ViewBag.dTable; } @* some input .... *@