0

I have a list that i want to show over my webpage using DataGridView

@model List<Application.Models.Capture>
@{
    ViewBag.Title = "ShowList"; 
}

Found this video and try to follow but cannot create an WebGgrid instance like at the video (not recognized)

Out of my view i can create WebGrid instance but from view not although i have added @using System.Web.Helpers;

user2214609
  • 4,713
  • 9
  • 34
  • 41

1 Answers1

0

You first need to add a reference to the 'System.Web.Helpers'-Assembly in your project.

Right-click on the 'References'-folder -> Add reference -> .NET-Tab

DonnyDee
  • 386
  • 2
  • 7
  • Maybe the answer in this thread helps you? http://stackoverflow.com/questions/11042556/how-to-use-webgrid-in-a-cshtml-view – DonnyDee Nov 12 '13 at 14:30