Hi,
I'm trying to pass parameter through report default constructor and then bind report controls with values.
After that i get this error:
Server Error in '/' Application.
I'm trying to pass parameter through report default constructor and then bind report controls with values.
After that i get this error:
Server Error in '/' Application.
No parameterless constructor defined for this object.
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?