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
juanaGris
NA
5
29k
C# Report viewer doesn't refresh on data changes (SOLVED)
Mar 23 2012 10:29 PM
Good evening everyone,
I've made a ReportViewer using a dataset, with the wizards. My problem is that everytime a change is made in the database, the changes don't reflect in my ReportViewer graphic at runtime-unless I close my form and open again, but of course that it's not the best. I'm using MySQL and had no problems creating the dataset.
I've tried:
private void button1_Click(object sender, EventArgs e)
{
reportViewer1.Clear();
reportViewer1.RefreshReport();
}
The graphic blinks at it is refreshing, but the data displayed is the old one. Please help me, I'm very close to a deadline and nothing I've found on Google has worked... I'm using Visual Studio 2010.
Regards
Reply
Answers (
5
)
C# VS Web application error, problem with Interface implementation usage
Getting data from a dataset