从Excel工作表上传数据到网格 [英] uploading data to grid from excel sheet

查看:120
本文介绍了从Excel工作表上传数据到网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我能够将数据从Excel工作表上传到网格视图,但是如果我的Excel列被更改,那么我该如何上传它.因为我在项目模板中使用文本框,并且其文本与Excel中的对话框相对应.请帮我解决这个问题吗?


i am able to upload data from an excel sheet to a grid view, but if my columns in the excel are altered then how do i upload it. as i am using textbox in the item template and its text is "eval" to the coloumn in the excel. please help me out of this??

推荐答案

在这里看看:
csharp-excel-tutorial [ http://social.msdn.microsoft.com/论坛/en-US/vsto/thread/b6e8a28c-6760-4e86-a1aa-e2ce9ec36380 [ http://www.dotnetperls.com/excel [ http://support.microsoft.com/kb/316934 [ http://sharpertutorials.com/accessing-excel-spreadsheets-within-c-adonet/ [^ ]
http://www.connectionstrings.com/excel [ http://www.connectionstrings.com/excel-2007 [
Take a look here:
csharp-excel-tutorial[^]
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/b6e8a28c-6760-4e86-a1aa-e2ce9ec36380[^]
http://www.dotnetperls.com/excel[^]
http://support.microsoft.com/kb/316934[^]
http://sharpertutorials.com/accessing-excel-spreadsheets-within-c-adonet/[^]
http://www.connectionstrings.com/excel[^]
http://www.connectionstrings.com/excel-2007[^]


这篇关于从Excel工作表上传数据到网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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