如何在asp.net中打开.xlsx / .csv文件的excel [英] How to open excel of .xlsx/.csv file in asp.net

查看:87
本文介绍了如何在asp.net中打开.xlsx / .csv文件的excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..



你可以帮我,如何在链接按钮中打开或下载.csv / xlsx文件以及如何使用asp上传到mysql数据库。 net!



提前感谢...

Hi..

Can u help me,how to open or download .csv/xlsx file in a linkbutton and how to upload into mysql database using asp.net !

thanks in advance...

推荐答案

使用以下链接打开.download excel文件

将DataGrid导出到Excel,Word和文本文件 [ ^ ]



要从excel上传数据,请使用以下链接

使用ASP中的C#从excel导入数据到SQL服务器。 NET [ ^ ]
Use below link to open.download excel file
Exporting DataGrid to Excel, Word and Text Files[^]

To upload data from excel use below link
Import Data from excel to SQL server using C# in ASP. NET[^]


参考此



http://csharpdotnetfreak.blogspot.com/2011/12/upload-and-read-excel-file- in-aspnet.html [ ^ ]

如何在C#.net 中打开Excel XLS文件[ ^ ]
refer this

http://csharpdotnetfreak.blogspot.com/2011/12/upload-and-read-excel-file-in-aspnet.html[^]
How to open Excel XLS file in C#.net[^]


这篇关于如何在asp.net中打开.xlsx / .csv文件的excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆