我可以将Bellow Dataformat格式转换为数据源 [英] Can I Convert The Bellow Dataformat Format To Datasource

查看:74
本文介绍了我可以将Bellow Dataformat格式转换为数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

{记录:3,错误:[],记录:3,错误:错误,数据:[

[名称,地址 , 其他, 10, 20, 107],[ 姓名, 地址, 其他, 10, 20, 107],[ 姓名,地址,其他,10,20,107]

]}









如何将其转换为C#DataSource?

{"Records":3,"errors":[],"Records":3,"ERROR":false,"Data":[
["name","address","other","10","20","107"],["name","address","other","10","20","107"],["name","address","other","10","20","107"]
]}




how can i convert it into C# DataSource ??

推荐答案

请参阅我的评论问题。它看起来像JSON。如果是这样,您首先必须解析它。请看我过去的答案:

从云端获取数据(json文档) [ ^ ],

如何将对象类型转换为C#类对象类型 [ ^ ],

如何融合多层次json数据到C#对象? [ ^ ],
解析json字符串数组 [< a href =http://www.codeproject.com/Answers/232521/deseralize-a-json-string-array#answer1target =_ blanktitle =New Window> ^ ]。< br $>


-SA
Please see my comment to the question. It looks like JSON. If so, you first have to parse it. Please see my past answers:
haw to get data from Cloudant (json document)[^],
How To Convert object type to C# class object type[^],
how to conver multi level json data to C# Object?[^],
deseralize a json string array[^].

—SA


这篇关于我可以将Bellow Dataformat格式转换为数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆