Hello,
I tried to define a project SqlDataSource using a stored procedure. I defined it with a default value as required in order to see it in the Data Explorer. However, when I go to select the table item I applied the data source to, the Data Explorer shows No Data Source.
I used SQL Profiler to see what was happening. When I click on the data source at the bottom of the designer it executes the stored procedure with all parameters as null, thus returning no result set.
I opened the SqlDataSource component I created and it does have the parameter defined with a default value.
Oh, and if you select Preview it returns data.
Any help would be appreciated.
I tried to define a project SqlDataSource using a stored procedure. I defined it with a default value as required in order to see it in the Data Explorer. However, when I go to select the table item I applied the data source to, the Data Explorer shows No Data Source.
I used SQL Profiler to see what was happening. When I click on the data source at the bottom of the designer it executes the stored procedure with all parameters as null, thus returning no result set.
I opened the SqlDataSource component I created and it does have the parameter defined with a default value.
Oh, and if you select Preview it returns data.
Any help would be appreciated.