473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Reusable reporting form and VS2005 report

jay
I saw an example somewhere that looked like this:

Me.ReportViewer1.Reset()

Me.ReportViewer1.ProcessingMode =
Microsoft.Reporting.WinForms.ProcessingMode.Local

Dim newDS As New
Microsoft.Reporting.WinForms.ReportDataSource("myD ataSet.Customer")

newDS.Value = Me.CustomerBindingSource

Me.ReportViewer1.LocalReport.DataSources.Add(newDS )

Me.ReportViewer1.LocalReport.ReportEmbeddedResourc e =
"myApp.rpt_Customer.rdlc"

Me.ReportViewer1.RefreshReport()

The problem is I still receive the message "A Data Source instance has not
been supplied for the data source "myDataSet.Customer") The dataset and
bindsource exist on the form. Any ideas?
Jun 21 '07 #1
1 1245
jay
Solved it. Changed myDataSet.Customer to myDataSet_Customer

"jay" <jj**@hotmail.comwrote in message
news:fO******************************@giganews.com ...
>I saw an example somewhere that looked like this:

Me.ReportViewer1.Reset()

Me.ReportViewer1.ProcessingMode =
Microsoft.Reporting.WinForms.ProcessingMode.Local

Dim newDS As New
Microsoft.Reporting.WinForms.ReportDataSource("myD ataSet.Customer")

newDS.Value = Me.CustomerBindingSource

Me.ReportViewer1.LocalReport.DataSources.Add(newDS )

Me.ReportViewer1.LocalReport.ReportEmbeddedResourc e =
"myApp.rpt_Customer.rdlc"

Me.ReportViewer1.RefreshReport()

The problem is I still receive the message "A Data Source instance has not
been supplied for the data source "myDataSet.Customer") The dataset and
bindsource exist on the form. Any ideas?


Jun 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul Say | last post by:
I have a asp.net application that will need to create a document/report from data in a database. The user will fill out a form supplying various criteria for parameters. I would like the...
7
by: ad | last post by:
I found that there is reporting service bundle with SQLSever 2005 express. Can VS2005 express can use the reporting service in SQLSever 2005 express?
5
by: John | last post by:
Hi How do .net reporting tools (including in vs2005) compare to reporting in ms access? I am moving over from access and hoping that all my reporting needs will be fulfilled. Thanks Regards
1
by: John | last post by:
Hi vs2005 rc/sql server 2005 sep ctp. In vs 2005 when I try to add an item there are two icons 'report' and 'crystal report'. What is the difference between these two and sql server reporting?...
6
by: Bob Alston | last post by:
I am looking for Access reporting add-in that would be easy to use by end users. My key focus is on selection criteria. I am very happy with the Access report writer capabilities. As far as...
3
by: =?Utf-8?B?QS4gUm9iaW5zb24=?= | last post by:
I have been looking high and low and can't seem to find anything a little more detailed on the whole RS utility. What I'm looking for specifically is some type of programming reference. Also, I...
0
by: MarkusJNZ | last post by:
Hi, I have a bunch of VS2003 rdl files which exist in named folders and I want to import all these files and their associated folders into a new VS2005 report server project. So, I tried just...
3
by: =?Utf-8?B?Sm9uIEphY29icw==?= | last post by:
We use SQL Server 2000 We user VS 2005 How can we use SQL Server reporting Services? Thanks,
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.