Silverlight会议

编程入门 行业动态 更新时间:2024-10-28 06:33:58
本文介绍了Silverlight会议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如何使用会话n silverlight?

How to use session n silverlight?

推荐答案

最大的问题是,为什么要这么做? www.dotnetspider/tutorials/Silverlight-Tutorial-316.aspx [ ^ ]告诉您如何访问会话变量.鉴于silverlight控件位于一页中,这就是您所需要做的所有事情. The big question is, why do you want to ? www.dotnetspider/tutorials/Silverlight-Tutorial-316.aspx[^] tells you how to access session variables. Given that the silverlight control lives in the one page, that''s all you should ever need to do.

在Silverlight中使用Session的最佳方法是创建一个集合&然后将其用作会话变量. Best approach for using Session in Silverlight is to create a collection & then use it as a Session variable. public Dictionary<string, object> Session {get; set;} . . . Session["uname"] = "kunal"; if(Session["uname"] != null) { string uname = Session["uname"].ToString(); }

请帮忙投票.

Please vote it if it helped you.

更多推荐

Silverlight会议

本文发布于:2023-10-31 05:37:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545166.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:会议   Silverlight

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!