?
Solved

Creating dynamic reports using the report viewer control visual studio 2010

Posted on 2010-09-18
2
Medium Priority
?
1,271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
timexist earned 2000 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Suggested Courses

762 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