what kind of module? in ASP.NET or Windows.Forms?if you are using ASP.NET, ask the user to upload the excel file to the server, then in your code, save it as a local file, use a similar method in this article:HOW TO: Query and Display Excel Data by Using ASP.NET, ADO.NET, and Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306572dump the data into your database if you are using Windows.Forms, then load the excel file into DataSet, save the changes to the database
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306572dump the data into your database if you are using Windows.Forms, then load the excel file into DataSet, save the changes to the database
首先表示感谢大侠的关心,我要做一个应用程序,他是我程序的一个子功能
我将他作为一个菜单项使用,小弟是C#新手,能给示例么?
http://expert.csdn.net/Expert/topic/846/846308.xml?temp=.6735193
回答估计将该功能改成一个函数即可