• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1292
  • Last Modified:

Creating dynamic reports using the report viewer control visual studio 2010

I am attempting to create a dynamic report using the report viewer control that comes with Visual Studio 2010 pro. It is pulling the data in from my tables correctly, but what I need it to do is to show the data based on user input. Basically, what I need is something like this.

if(cert_number == int.Parse(txtcertnum.text))
{
     // get the report control to display this record
     report_control.Refresh();
}

Open in new window


Note, the language is C#
0
Curtis Long
Asked:
Curtis Long
1 Solution
 
timexistCommented:
you can pass parameter to stored procedure, and enable the view report button, you do not need put any additional code at .net part. just use the property setup.
0
 
Curtis LongAuthor Commented:
Wonder why I didnt think of that... Great idea, thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now