I'm pretty new to this. I have a report in Visual Studio running off a Stored Procedure I need to manipulate it in SQL Server Management Studio. I didn't write any of this, I'm trying to repair it. I need to make some changes to the Stored Procedure, but can't find it anywhere, and it appears there are others that are missing too. Is there a way to find the path to the stored procedure from the report in Visual Studio? I've tried everything I can think of and I still can't find it. Any help would be greatly appreciated. Gee
Right click on your datasource to see the properties. There you can find the connection string to your data source. Connect to this database using SSMS to find your stored procedure. Please notice: Datasets can also base on plain SQL code, that means your data can be retrieved form tables, views or even functions - not only stored procedures. So examine your dataset first.
If you have the report open in Visual Studio you can simply look at the data table for the report (.rdl file). It will show you the exact code being executed for that specific report. (See image below for example). As already mentioned you can check your data source properties for the database the procedure is being executed from. If you need more than this let us know... ![alt text] : /storage/temp/386-capture.jpg