用于在Web表单字段中填写Excel值并提交它的工具

用于在Web表单字段中填写Excel值并提交它的工具

问题描述:

大家好,

有没有现成的工具可以读取excel文件数据并将其显示在网页控件中,如文本框,组合框等。我已经google了很多但是找不到合适的工具。请建议。



我尝试了什么:



我用Google搜索从Excel中自动填写表单,将数据优化到网页,在Web表单字段中填写Excel值的工具并提交等等

Hi All,
Is there any ready made tool available to read excel file data and display it in web page controls like textbox, combo box etc. i already googled a lot but cant find proper tool. Please suggest.

What I have tried:

I googled like auto form filler from excel, excel data to web page, Tool to fill excel values in a web form fields and submit it etc etc

您可以使用Excel ODBC驱动程序或Office XML SDK。 Google既有更多信息也有示例。
You can use the Excel ODBC driver or the Office XML SDK. Google both for more info and examples.


在服务器上读取Excel文件有多种选择。例如:

There are various options for reading Excel files on the server. For example:
  • EPPlus[^];
  • ClosedXML[^];
  • ExcelDataReader[^];
  • The OpenXML SDK[^];


您可以从excel中获取数据到您的代码很容易,然后做你想要的插入或显示。只是搜索如何从asp.net中的excel获取数据,你有很多例子
you can fetch data from excel to your code easily and then do what you want like insert or display. just search how to fetch data from excel in asp.net you got lot of example