开发者

TempData from Global ASAX

Can someone post a sample code on how I can access the TempData dictionary object from wi开发者_如何转开发thin the Global.asax.cs?


Dictionary<string, object> tempDataDictionary = HttpContext.Current.Session["__ControllerTempData"] as Dictionary<string, object>;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜