How to add report viewer parameters dynamically using asp.net c#

ItsMe

New Member
There is a product report in which the product category must be stated as well.I'm using MS Report Viewer and the application is being developed using asp.net c#.The DataSet which is bound to the report designer (.rdlc) is my Product table containing a field of CategoryID, just a reference to the ProductCategory table.For now the report is displaying the CategoryID and not the category name!I can get the category name by its ID, but have no idea how to display it in the report.I would appreciate if anybody could give me an example or any solution.Thanks in advance,
 
Back
Top