Solved

Creating dynamic reports using the report viewer control visual studio 2010

Posted on 2010-09-18
2
1,263 Views
Last Modified: 2012-05-10
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
Comment
Question by:HDM
2 Comments
 
LVL 4

Accepted Solution

by:
timexist earned 500 total points
ID: 33709836
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
 

Author Closing Comment

by:HDM
ID: 33739389
Wonder why I didnt think of that... Great idea, thanks
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question