我有一个从 java 项目生成的 web 服务(wsdl)。它的输出是 json 格式。像这样的东西
[{"pid":163686,"chartno":null,"lName":"Bec&&kwith","fName":"Burt","mName":null,"line1":"312 HILL ROAD","line2":null,"city":"Hillsboro","state":"Missouri","pinCode":null,"phone":"123456879","dob":"1947-01-01","gender":"Male","ssn":null,"martialStatus":null,"guarantor":null,"sig":null,"priInsname":null,"priPolNo":null,"secInsname":null,"secPolNo":null}]
我想在我的 c# web 应用程序中使用这些数据在网格中显示它。我怎样才能将这些数据放入数据表中?如果有多个数据,如何将 json 输出格式化为表结构?
标题将是 pid、chartno、... 等。
我不想让它太复杂......我只想将 json 输出存储到字典或其他东西中......谢谢你