如何在第一页中导入excel文件时显示数据并在第二页中显示该excel数据 [英] How to display the data while importing excel file in 1st page and display that excel data in 2nd page

查看:112
本文介绍了如何在第一页中导入excel文件时显示数据并在第二页中显示该excel数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我将Excel文件数据导入了index.aspx页面.

我想使用(c#)在second.aspx页的gridview中显示excel数据.

请指导我.

在此先感谢
:thumbsup:

Hi,

I imported the excel file data in index.aspx page.

I want to display that excel data in gridview in second.aspx page using(c#).

Please guide me.

Thanks in advance
:thumbsup:

推荐答案

因此在第1页上放置文件上传控件,在服务器上安装Excel,使用Excel从文件中获取数据,然后进行数据处理第2页上的网格数据源.
So put a file upload control on page 1, install Excel on your server, use Excel to get the data from the file, the make that data the data source of your grid on page 2.


这篇关于如何在第一页中导入excel文件时显示数据并在第二页中显示该excel数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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