将DataTable投射到XSD

时间:2019-05-22 10:35:27

标签: c#

嗨,我有一个用xsd文件表示的日期,我必须从从对DataStampaRisorse(xsd)的剩余调用中获得的数据表进行转换,该如何执行转换?

 DataStampaRisorse d = new DataStampaRisorse();
 string json = "{\"IdUtenteSelect\":\"" + IdUtenteSelect + "\"," + "\"StartDate\":\"" + StartDate + "\"," + "\"EndData\":\"" + EndData + "\"," + "\"StampaTutteLeRisorse\":\"" + StampaTutteLeRisorse + "\"}";   
 string value = Json.GetString("/RisorseUmane/CaricaRisorseCantiere", json);
 DataTable dt = Json.ConvertJSONtoDataTable(value);

0 个答案:

没有答案