Hi Friends,
On my Table Adapter Class I have a Function Method that takes a table and a Parameter. For some reason I don't see my parameter in the intellesense. or I have a red squiggly line under it that says parameter is not declared. Thanks !
Private Sub MySub(ByVal state As String)
Me.ReportViewer1.LocalReport.DataSources.Clear()
Dim myDS As New DataSet
Dim adapter As New DataSetTableAdapters.EmployeesTableAdapter
Dim table As New DataSet.EmployeesDataTable
adapter.FillByRegion(table, param)
'Dim myRDS As New _
'ReportDataSource("DataSet1", myDS.Tables("tbl_Employee"))
Me.ReportViewer1.LocalReport.DataSources.Add(New ReportDataSource("DataSet1", CType(table, DataTable)))
Me.ReportViewer1.DataBind()
End Sub