本文介绍了JSON到Dataset / DataTable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我收到Json字符串
{ 0:[ 1 , $ 50.00, 10/23/2013, , ], 1:[ 2 , $ 50.00, 11/23/2013, , ], 2:[ 3, $ 50.00, 12/23/2013, , ], 3:[ 4, $ 50.00, 2014年1月23日, , ], 4:[ 5, $ 50.00, 2014/2/23 , , ]}
我想将其遍历到数据表中或者数据集。
我该怎么做?
解决方案
Hi
I am getting the Json string as
{"0": ["1","$50.00","10/23/2013","",""],"1": ["2","$50.00","11/23/2013","",""],"2": ["3","$50.00","12/23/2013","",""],"3": ["4","$50.00","1/23/2014","",""],"4": ["5","$50.00","2/23/2014","",""]}
I want to traverse it into a datatable or dataset.
How can i do that?
解决方案
这篇关于JSON到Dataset / DataTable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!