如何在没有数据库连接的情况下将数据从Excel导入到Asp.net(Textbox)控件? [英] How To Imports data from Excel to Asp.net(Textbox) control With out Database Connection?
本文介绍了如何在没有数据库连接的情况下将数据从Excel导入到Asp.net(Textbox)控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将数据从Excel工作表导入到Asp.net文本框控件,而无需
数据库连接是否可能?如果可能的话如何?
解决方案
如果您不想使用DB连接,则需要在PC上安装Excel,并且要使用Interop:如何在C#中打开Excel文件 [ 解决方案
If you don''t want to use a DB connection then you will need Excel installed on the PC, and to use Interop: How to open an Excel file in C#[^]
这篇关于如何在没有数据库连接的情况下将数据从Excel导入到Asp.net(Textbox)控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文