I have a stored procedure that I\'m using in a dataset to generate a report in ReportViewer.
This SP uses temporary tables to store intermediate values, so that these ca
There's some known issues with #temp tables and table adapters.
Some people have got around it by explicitly selecting column names, eg:
SELECT column1, column2, ... from #temptable rather than SELECT * (if you are doing that)
SELECT column1, column2, ... from #temptable
SELECT *
You could also try using a table variable rather than a temp table.
table