Solved

Creating dynamic reports using the report viewer control visual studio 2010

Posted on 2010-09-18
2
1,257 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
Comment Utility
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
Comment Utility
Wonder why I didnt think of that... Great idea, thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now