TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Christian Nwamba
NA
234
75.1k
Confusion on reports
Aug 26 2013 5:17 AM
Hi colleagues, I have a report that i needed to filter while putting it on a form with a report viewer. Am getting my data from an xsd dataset with a query and a "WHERE" parameter and i named the method FillByYear and GetByYear.
On the form i created a textbox and a button and in the click event of the button I have this code:
AuthorsTableAdapter.FillByLastName(BooksDataSet.Authors, textBox1.Text);
this.reportViewer1.RefreshReport();
It worked perfectly fine, but when i tried to use a view instead of a table, it gave this error:
The best overloaded method match for 'Draft.UNKNOWN_MDFDataSet1TableAdapters.View2TableAdapter.FillByYEAR(DraftUNKNOWN_MDFDataSet1.View2DataTable, decimal?)' has some invalid arguments
Draft is the name of the project
Unknown_mdf is the name of the database
DataSet1 is the name of the dataset
View2 is the name of the View
Thanks in advance
Reply
Answers (
1
)
How to Add Sub Report in Rdlc using Asp.Net C#?
Reporting Services