Imports System.Linq Partial Class _Default Inherits System.Web.UI.Page Protected Sub submit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles submit.Click Dim pContext = New mydataclassesDataContext() Dim pr = (From p In pContext.Products Where p.Name.StartsWith("A") Select p Take 10).ToList For Each prodx In pr Response.Write(prodx.Name & "<br/>") Next End Sub End Class Note : make sure that the given parameter for character or string in StartsWith has a correct casing. If the data starts with Uppercase the parameter should be uppercase. I used AdventureWorks as my database for this topic.