I have followed telerik video to pass the report parameters at runtime.
My VB Code in Web Application looks like as below::
but doesnt not work at runtime at all,even if i pass the paramter value as default value.
It gives me error as follows:
My VB Code in Web Application looks like as below::
Default.aspx.vb
Dim FullnameRpt As New ClassLibrary1.Fullname()
FullnameRpt.Param = tbWorkerId.Text
ReportViewer1.Report = FullnameRpt
ReportViewer1.RefreshReport()
Fullname.vb
Public Property Param() As String
Get
Return SqlDataSource1.Parameters(0).Value.ToString
End Get
Set(ByVal value As String)
SqlDataSource1.Parameters(0).Value = value
End Set
End Property
but doesnt not work at runtime at all,even if i pass the paramter value as default value.
It gives me error as follows: