本文介绍了任何文件格式的解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的要求之一是用户可以使用CSV,Excel,固定文件格式,XML等各种文件上传。



我可以使用任何公共解析器来解析给定列表中的任何文件,并将其转换为数据集或数据表以便插入数据库。



此外,如果有任何新文件格式出现在列表中,将来很容易附加一个具有该文件格式的逻辑。



i我正在使用asp.net和.net 3.5和MSSQL2008。

Hi,

One of my requirement is that a user can upload with various file like CSV, excel, Fixed file format, XML etc.

Can i have any common parser which can parse any file in the given list and convert it into dataset or datatable for DB insertion.

Also in future if any new file format comes which is not in the list, it should be very easy to attach a logic with that file format.

i am working on asp.net and .net 3.5 and MSSQL2008.

推荐答案



这篇关于任何文件格式的解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 10:18
查看更多