فاطی.جدا
سه شنبه 19 دی 1391, 13:14 عصر
سلام
من برای نمایش یک متن طولانی از ریپورت ویور استفاده کردم . ای هم کدم هست .
da = New SqlDataAdapter("select biography FROM [gholeha].[dbo].[tbl_charachter] where name=N'آیت الله بهجت' ", con)
da.Fill(ds, "bio_tbl")
Dim rep As ReportDataSource
rep = New ReportDataSource("dts", ds.Tables("bio_tbl"))
ReportViewer1.LocalReport.DataSources.Clear()
Me.ReportViewer1.LocalReport.DataSources.Add(rep)
ReportViewer1.LocalReport.Refresh()
Me.ReportViewer1.RefreshReport()
اما بعد از اجرا میگه
the source of the report definition has not been specified
مشکل از کجاست ؟
من برای نمایش یک متن طولانی از ریپورت ویور استفاده کردم . ای هم کدم هست .
da = New SqlDataAdapter("select biography FROM [gholeha].[dbo].[tbl_charachter] where name=N'آیت الله بهجت' ", con)
da.Fill(ds, "bio_tbl")
Dim rep As ReportDataSource
rep = New ReportDataSource("dts", ds.Tables("bio_tbl"))
ReportViewer1.LocalReport.DataSources.Clear()
Me.ReportViewer1.LocalReport.DataSources.Add(rep)
ReportViewer1.LocalReport.Refresh()
Me.ReportViewer1.RefreshReport()
اما بعد از اجرا میگه
the source of the report definition has not been specified
مشکل از کجاست ؟