Solved

Creating dynamic reports using the report viewer control visual studio 2010

Posted on 2010-09-18
2
1,262 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

831 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