@Code 
Dim db = Database.Open("SmallBakery") 
Dim query = "SELECT * FROM Product" 
Dim data = db.Query(query) 
Dim grid = new WebGrid(data) 
End Code

<html> 
<head> 
<title>Displaying Data Using the WebGrid Helper</title> 
</head> 
<body> 
<h1>Small Bakery Products</h1> 
<div id="grid"> 
@grid.GetHtml()
</div> 
</body> 
</html>