Thank you it is done.
But just for knowledge I have used this code before this and it was working. I donot know what problem faced this to show error.
rpt.rptViewer.ReportPath
Main Topics
Browse All TopicsDear Experts,
I am using MS VS 2008 with the following code
but is error showing on line:
rpt.rptViewer.ReportPath = GetPath() & "Report/mtTL.rdlc"
Error:
Report path is not member of Imports Microsoft.Reporting.WinFor
Please help
Import on Starting
------------------------
Imports Microsoft.Reporting.WinFor
On Button Click
--------------------
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim objReport As New clsTL
Dim ds As New DataSet
ds.ReadXmlSchema("dsTL.xsd
If objReport.LoadAllRecords(d
Dim rpt As New prtFrm
rpt.rptViewer.ReportPath = GetPath() & "Report/mtTL.rdlc"
rpt.rptViewer.LocalReport.
rpt.Show()
Dim myDataSource = New ReportDataSource("dsTL_dtT
rpt.rptViewer.LocalReport.
rpt.rptViewer.RefreshRepor
End If
End Sub
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: NBITPosted on 2009-10-19 at 08:29:05ID: 25606076
change ReportPath
rpt.rptViewer.ReportPath
to
rpt.rptViewer.LocalReport.