I have a Stored Procedure with one parameter that is used a Pick List for Report Range Criteria. I'd like to utilize the same stored procedure with just one dataset instead of creating multiple datasets, so that the ParameterName is being Passed to the Stored Procedure and where by I am using dynamic SQL to do a where clause based upon the Current Parameter DropDown List.
How can I pass the Parameter Name to my one dataset so that my dataset is reusable?
John