本文介绍了如何安排(下面)数据到数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 嗨朋友们, 使用链接我从网上获取以下数据。如何在数据表中安排数据请帮帮我。 以下数据: { data:{ status: true , leaderBoard: [ { causeName: 动物权利, totalNoOfSteps: 3051 , totalNoOfPeople: 19 }, { causeName: 妇女权利, totalNoOfSteps: 1079 , totalNoOfPeople: 11 }, { causeName: 反对童工 , totalNoOfSteps: 985 , totalNoOfPeople: 16 },{ causeName: 反污染, totalNoOfSteps: 691 , totalNoOfPeople: 15 },{ causeName: Recycling&保护, totalNoOfSteps: 454 , totalNoOfPeople: 7 },{ causeName: 抗击腐败, totalNoOfSteps: 364 , totalNoOfPeople : 10 },{ causeName : 全球变暖, totalNoOfSteps: 337 , totalNoOfPeople: 12 }, { causeName: Health& Fitness, totalNoOfSteps: 31 , totalNoOfPeople: 5 }, { causeName: 保存Tiger, totalNoOfSteps: 28 , totalNoOfPeople : 6 }, { causeName: 针对全球变暖, totalNoOfSteps: 5 , totalNoOfPeople: 3 }]}} 我需要外出喜欢这个(下面)请帮帮我。抱歉语法错误。 Causename TotalNoofSteps TotalNoofpeople Animal Rights 3051 19 Womens Rights 1079 11 。 。 。 谢谢 Aravind 解决方案 请参阅以下示例。他们可能会帮助你。 1. 如何将json转换成数据表? [ ^ ]。 2. [ ^ ]。 Hi Friends, Using Link i am getting Below Data from net. how to arrange data in data table please help me.Below Data:{"data":{"status":true,"leaderBoard":[{"causeName":"Animal Rights","totalNoOfSteps":3051,"totalNoOfPeople":19},{"causeName":"Women's Rights","totalNoOfSteps":1079,"totalNoOfPeople":11},{"causeName":"Against Child Labor","totalNoOfSteps":985,"totalNoOfPeople":16},{"causeName":"Against Pollution","totalNoOfSteps":691,"totalNoOfPeople":15},{"causeName":"Recycling & Conservation","totalNoOfSteps":454,"totalNoOfPeople":7},{"causeName":"Fight against Corruption","totalNoOfSteps":364,"totalNoOfPeople":10},{"causeName":"Global Warming","totalNoOfSteps":337,"totalNoOfPeople":12},{"causeName":"Health & Fitness","totalNoOfSteps":31,"totalNoOfPeople":5},{"causeName":"Save the Tiger","totalNoOfSteps":28,"totalNoOfPeople":6},{"causeName":"Against Global Warming","totalNoOfSteps":5,"totalNoOfPeople":3}]}}I need out put like this(Below) please help me. Sorry for grammar mistakes.Causename TotalNoofSteps TotalNoofpeopleAnimal Rights 3051 19Womens Rights 1079 11...ThanksAravind 解决方案 Refer the below examples. They might help you.1. How to convert json into datatable?[^].2. How to convert Json to DataTable in C#[^]. 这篇关于如何安排(下面)数据到数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-28 09:34