I trying to convert this C# code VB.Net. its giving syntax error.
C#
@{
var grid = new WebGrid(source: data,
defaultSort: "name",
rowsPerPage: 30)
}
VB.Net
@Code
Dim grid as new WebGrid(source: data,
defaultSort: "name",
rowsPerPage: 30);
End Code
What is the correct say to convert this?
-SR