المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Reporting Services - How to define the WHERE clause dynamically ?



C# Programming
08-19-2009, 02:55 PM
We are about to start using Reporting Services which will be accessed from a C# ASP.net application.

Many reports will have a different where clause for the same report depending upon who the user is and the circumstances. Therefore, I need to be able to send the report a WHERE clause ideally as a string. I can't use hard defined parameters because they will be on different fields depending on how I want to call the report. Can anyone tell me how this is done?