getting .rdlc to work with dataset and report viewer
<p>For the last 2 days I've been trying to get this report to work. I've gone through lots of websites and such however I am still not able to get this report to work. </p>

<p>Here are the steps I took:</p>

<ul>
<li><p>Created new application</p></li>
<li><p>Added ReportViewer1</p></li>
<li><p>Added Report1.rdlc</p></li>
<li><p>Created a new DataSet called DS1 - where I connect to Sql SErver, and grabbed all the neccesary tables.</p></li>
<li><p>Created a parameter textbox/table</p>

<ul>
<li><p>For ReportViewer1 - changed the report source to WindowsApplication.Report1.Rdlc</p></li>
<li><p>Also changed the Source Code (for reportViewer1) to DS1</p></li>
<li><p>Added the following code in form1 under buttonClick</p></li>
</ul></li>
</ul>

<hr>

<pre><code>Private Sub Button1_Click(sender As Object, e As EventArgs) Handles   Button1.Click

    Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter
    params(0) = New Microsoft.Reporting.WinForms.ReportParameter("ReportParameter1", "HELLOOOOOOOOOOOOO")
    ReportViewer1.LocalReport.SetParameters(params)

    'Get Data
    Dim ReportDS As DataSet = GetData()
    Dim rds As ReportDataSource = New ReportDataSource("DS1", ReportDS.Tables(0))
    ReportViewer1.LocalReport.DataSources.Clear()
    ReportViewer1.LocalReport.DataSources.Add(rds)
    ReportViewer1.RefreshReport()

    Me.ReportViewer1.RefreshReport()

End Sub

Public Function GetData() As DataSet

    Dim ds As New DataSet
    Dim adapter As SqlDataAdapter
    Conn.Open()
    Dim sql As String = "Select FirstN, LastN from tblCustomers"

    adapter = New SqlDataAdapter(sql, Conn)
    adapter.Fill(ds)

    Return ds

End Function
</code></pre>

<p>Please someone point me in the right direction - I am not sure what I am doing wrong!</p>

<p>If i do just the ReportParameter1 - I can see the "HELLOOO" in report viewer so I know that works, but with adding the data and whatnot it's not working the error i'm getting is....</p>

<blockquote>
  <p>A data source instance has not been supplied for DataSet1</p>
</blockquote>