开发者

equivalent of ASP.NET MVC TempData in ASP.NET

In ASP.NET MVC, there's a TempData which can pass data one time from one page to anothe开发者_运维问答r. What's the equivalent for this in ASP.NET?


There is no direct equivalent (that is, data that is only passed to the next page).

You can use Session and clear it out on the receiving page.


You can use either Session or Viewstate to pass data between pages in ASP.NET application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜