reporting services - SSRS & asp.net - passing parameters from .net to ssrs in report viewer -


I'm starting to use a report viewer in my .net page. I have a page that will search for KitGauri on a button click; the selected class will be in the report's viewer's parameters.

Now, seeing that I am a newbie for both SSRs and the Net, I need some advice on how to deal with this issue.

Should I report first in SSRS and should include parameters in this report or I can create report without the specified parameters, then enter it in programmatic codebahind?

Actually, I know what I want to do but it is not the best way to make sure.

If someone can give advice, then I would be most grateful.

Welcome to the world of ASP.NET reporting! There is a learning curve in SSRS, but once you hang it, I'm sure you will enjoy working with it.

I recommend preparing the report first and with your criteria

You can set your code-behind such parameter values:

  Private Sub Settingport (byVal Viewer as ReportViewer) to use Dimension MyStartDate as a new report to use # parameters to provide information ReportPaymeter ("StartDate", Request MyRegion New Report as Parameter ("X Field ", field) Try adding # parameter for report viewer.Local report. Set parameter (_MyStartDate, myEndDate, myRegion}) Catch as the expansion error Label.Text = DATABASE_ERROR_MSG Try end End Sub  

Comments