开发者

Convert .CSV file into XML file then send to Web Service

I have a .CSV file and was wondering if there is any process on visual studio or visual web developer to convert it into an开发者_运维百科 XML file and then send it to a Web Service? Thanks for your time.


No, there isn't anything like this. CSV is simply comma separated and contains only values. Also it is not hierarchical like XML.


No, because there is no way for Visual Studio to know what format you want the XML to be in. You can, however, easily parse a CSV file and use the .NET XML libraries to do the conversion yourself. Finally, you can use the web services libraries to consume a web service and send the xml to it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜