开发者

Windows mobile 7 listbox.. add items from a string split operation

I have a var return from a webservice in this string format-

[{"Age":"20","Term":"10","Mode":"Yearly","SA":"25000","ADBRAge":"20","ADBRTerm":"10","ADBRSA":"25000","IP":"56321","Name":"someone","Advisor":"someon","Sex":"Male","date":"20-12-2010","DOC":"20-12-2010","DO开发者_JS百科B":"20-12-1984","ADBRIP":"250123"}]

can anyone help me or tell how do i split it... and create a listbox from all the items like age : 20 term : 10 on windows phone 7 and c# as the language.

thanks in advance


This is JSON, you can use DataContractJsonSerializer to parse it. Check this article: WP7: How to consume JSON data on a Windows Phone 7 application

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜