Hi makumbi,
Check this example. Now please take its reference and correct your code.
Database
For this example I have used of Northwind database that you can download using the link given below.
Download Northwind Database
Controller
Public Class HomeController
Inherits Controller
' GET: Home
Function Index() As ActionResult
Dim entities As New NorthwindEntities()
Return View(entities.Employees.ToList())
End Function
End Class
View
@ModelType IEnumerable(Of WebGrid_MVC.Employee)
@Code
Layout = Nothing
Dim webGrid As WebGrid = New WebGrid(source:=Model)
End Code
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
</head>
<body>
@webGrid.GetHtml(
htmlAttributes:=New With {Key .id = "WebGrid", Key .[class] = "Grid"},
columns:=
webGrid.Columns(webGrid.Column("EmployeeId", "Id"),
webGrid.Column("FirstName", "First Name"),
webGrid.Column("LastName", "Last Name"),
webGrid.Column("City", "City"),
webGrid.Column("Country", "Country")))
</body>
</html>
Screenshot