将json字符串转换为datatable

将json字符串转换为datatable

本文介绍了将json字符串转换为datatable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到了json结果如下。

{

HTTPStatusCode:200,

objFeedBackManagmentViewModel:[

{

ID:2,

FeedBackDetail:电子邮件:[email protected]手机:9503628985类别:产品要求留言:lookingFor,

CreateDate:2015-09-04T13:42:45

},

{

ID:3,

FeedBackDetail:电子邮件:[email protected]手机:9503507124类别:产品请求消息:lookingFor,

CreateDate:2015-09-04T18:06:44

}

]

}







如何将其转换为数据表



我尝试了什么:



我搜索了很多但无法得到正确的解决方案

解决方案

I got the json result as follows.
{
"HTTPStatusCode": "200",
"objFeedBackManagmentViewModel": [
{
"ID": 2,
"FeedBackDetail": "Email :[email protected] Mobile :9503628985 Category :Product Request Message :lookingFor",
"CreateDate": "2015-09-04T13:42:45"
},
{
"ID": 3,
"FeedBackDetail": "Email :[email protected] Mobile :9503507124 Category :Product Request Message :lookingFor",
"CreateDate": "2015-09-04T18:06:44"
}
]
}



how to convert it into datatable

What I have tried:

I search a lot but unable to get proper solution

解决方案


这篇关于将json字符串转换为datatable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 19:43