如何显示“Excel文件”?在Asp.net [英] How can i display "Excel File" in Asp.net

查看:47
本文介绍了如何显示“Excel文件”?在Asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Asp.net中显示Excel文件



我有一张Excel表格所以我必须在简单的表格格式中显示asp.net中的数据亲切地请帮帮我怎么做。

解决方案

你好



你可以显示excel文件来自asp.net的不同方式,例如一些有用的解决方案,您可以找到以下链接:

http://dotnetmentors.com/aspnet/display-excel-data-in-web-page.aspx [ ^ ]

www.codeproject.com/Articles/16302/Display-MS-Excel-Sheets-and-图表在ASPX-Pages-u [ ^ ]

www.freevbcode .com / ShowCode.asp?ID = 4242 [ ^ ]

http://forums.asp.net/t/1717501。 aspx [ ^ ]



最好的问候


从这里开始:如何使用ADO.NET使用Visual Basic .NET在Excel工作簿中检索和修改记录 [ ^ ]

如何使用ASP查询和显示Excel数据。 NET,ADO.NET和Visual C#.NET [ ^ ]

请参阅以下内容: -

您可以使用以下几种方式实现: -



使用gridview: -

http: //www.dotnetgallery.com/kb/resource16-Upload-and-display-excel-file-content-in-gridview-using-aspnet.aspx [ ^ ]



使用iframe: -

< iframe src =file:\\yourpath\yourfile.xlswidth =100% height =500>< / iframe>



使用Excel Services: -

http://blah.winsmarts.com/2007-3-SharePoint_2007__Excel_Services_-_A_Quick_Introduction.aspx [ ^ ]


How can i display "Excel File" in Asp.net

I have an Excel sheet so i have to display data in asp.net in simple table formate so kindly please help me how can i do that.

解决方案

Hi

You can show excel files from asp.net with different ways for example some useful solutions you can find follow of links:
http://dotnetmentors.com/aspnet/display-excel-data-in-web-page.aspx[^]
www.codeproject.com/Articles/16302/Display-MS-Excel-Sheets-and-Charts-in-ASPX-Pages-u[^]
www.freevbcode.com/ShowCode.asp?ID=4242[^]
http://forums.asp.net/t/1717501.aspx[^]

Best Regards


Start here: How To Use ADO.NET to Retrieve and Modify Records in an Excel Workbook With Visual Basic .NET[^]
How to query and display excel data by using ASP.NET, ADO.NET, and Visual C# .NET[^]


Refer below:-
you can do that using several ways like:-

using gridview:-
http://www.dotnetgallery.com/kb/resource16-Upload-and-display-excel-file-content-in-gridview-using-aspnet.aspx[^]

using Iframe:-
<iframe src="file:\\yourpath\yourfile.xls" width="100%" height="500"></iframe>

Using Excel Services:-
http://blah.winsmarts.com/2007-3-SharePoint_2007__Excel_Services_-_A_Quick_Introduction.aspx[^]


这篇关于如何显示“Excel文件”?在Asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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