473,387 Members | 1,504 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,387 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 1244
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...

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.