从Excel复制列 [英] Copy column from excel

查看:83
本文介绍了从Excel复制列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个优秀的.我想将一列从我的Excel复制到我的datagrid.最好的方法是什么?是否可以从excel复制数据并将其直接粘贴到datagrid,还是可以使用C#从excel读取该特定列.两种方法都应该可行. 最佳"对您最有用.以及通过pradiprenushe链接的文章上的链接,您可能对此导入库感兴趣,已经使用并可以推荐.


I have a excel. I want to copy a column from my excel to my datagrid. What is the best possible way.Is it possible to copy the data from excel and paste directly to datagrid or can I read that particular column from excel using C#.

解决方案

Either way should be possible. The "best" is whichever is most useful to you. As well as the links on the article linked by pradiprenushe, you might be interested in this import library, which I''ve used and can recommend.


这篇关于从Excel复制列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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