Get a SQL Reporting Services report to only show selected rows in a datagrid.

Hello all,

In an asp.net page (I'm using VB.Net) can you have a user select rows in a datagrid, using say a check box and then trigger a reporting services report to only report on the selected items. Reporting all items is not an issue I can just use the same SP that populated the datagrid in the first place.

If I could find the reference to include in my project that allows me to work with Reporting Services items, that might set me on my way?

I want to avoid having to create some long winded dynamically created query string if possible. Not only because of the security risk but it could end up being to long.

Any lateral thoughts and suggestion much appreciated.
Martin_Currie1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

craskinCommented:
see if you can adapt this tutorial on the detailsview control to your problem

http://www.asp.net/QuickStart/aspnet/doc/ctrlref/data/detailsview.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
craskinCommented:
it goes through the basics of capturing the primary key value of the selected row of a gridview to display details in a detailsview control. you should be able to parlay this into reporting on the selected row in your own fashion.
0
Martin_Currie1Author Commented:
I'll have to have a look tomorrow. It's got to late to do it now. I'm also looking into this

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_prog_intro_7xb6.asp

Which may be what you mention anyway, sorry I haven't had chance to read it.

Thanks for the rapid feedback. I hope to have it cracked tomorrow.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

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.