I have a clarification, with my project I added a dataset ,is having
dataset [xsd] file name- DataSet1 and
datatable table name -datatable1, also it's having the fields "id,item"
with my form I have coding
Dim ds As New DataSet1
Dim t As DataTable = ds.Tables.Add("datatable2")
t.Columns.Add("id", Type.GetType("System.Int32"))
t.Columns.Add("Item", Type.GetType("System.String"))
Dim r As DataRow
Dim i As Integer
For i = 0 To 15
r = t.NewRow()
r("id") = i
r("Item") = "Item" & i
t.rows.add(r)
next
ReportViewer1.Reset()
ReportViewer1.LocalReport.DataSources.Clear()
ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local
ReportViewer1.LocalReport.ReportPath = "C:\paramu\PIS\report1.rdlc"
ReportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("DataSet1", ds.Tables(0)))
ReportViewer1.LocalReport.Refresh()
Anyone can point me the mistake? will be happy.
I tried manytimes and become tired.
Really I don't know....It's my first project in vb.net.
Thanks