In our ASP.NET 4.6 webforms application using SQL Server, we want a page to use a #temptable
, but we cannot get it to work. Page1
creates the #temptable
in SQL Server, and then launches Page2
that wants to put the #temptable
into a GridView to be edited within the grid.
It appears that the scope of the #temptable
does not extend beyond Page1
on the server when the Page2
is loaded and becomes visible to the browser.
We are considering using a table in the DB itself, not #temptable
. Also, other users may be able to be editing the same table but with different "data". We thought that #temptable
would belong to a specific user (from the browser).
Any guidance will be appreciated. Thanks...John.
ANSWER : Based on @Faruq's explanation, we will use a normal DB table for each user.