or
This is the report code:
Public Sub New(ByVal id As String)
InitializeComponent()
Dim db As New DataClassesDataContext
Dim q_worksheet = (From _wo In db.Worksheets Where _wo.WorksheetID.ToString = id Select _wo).First
txtBoat.Value = q_worksheet.BoatID
End Sub
Is there any other way to use parameters with linq to sql?