Store a generic dictionary in an asp.net profile?

核能气质少年 提交于 2019-11-28 10:09:52

问题


Is there any way of storing a generic dictionary object in an asp.net profile? I have tried using this but it still doesn't like it: http://weblogs.asp.net/pwelter34/default.aspx

Thanks, Nick


回答1:


Check out the KeyedCollection. Its a generic dictionary that is serializable to xml. There are some limitations, however.



来源:https://stackoverflow.com/questions/1277656/store-a-generic-dictionary-in-an-asp-net-profile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!