在编辑框中读取Excel工作表数据 [英] Read Excel Sheet Data in to Edit Box

查看:107
本文介绍了在编辑框中读取Excel工作表数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


请帮助我,我需要将Excel工作表数据访问到编辑框"中.

示例:
....... Colum(1)
行(1)10.2
行(2)2.3
等....

现在我想在vc ++,MFC,
中将Excel工作表中的10.2值添加到我的编辑框"中.
请帮我,我将非常感谢您... !!!!!

Hi,
Plz help me, I need to Access Excel Sheet Data into My "Edit Box".

Example:
.......Colum(1)
Row(1) 10.2
Row(2) 2.3
etc....

now i want to accees that 10.2 value in Excel sheet to my Edit Box in vc++,MFC,

plzzz help me i will very very thank full to you...!!!!!

推荐答案

Excel注册了ODBC驱动程序.这使您可以使用(有限的)SQL将其作为数据库进行访问.请参阅 MSDN [数据库 [
Excel registers an ODBC driver. This allows you to access it as a database with (limited) SQL. See MSDN[^] for the API reference. I think I have some ODBC code laying around somewhere if you are having trouble with it, but have a go yourself first.


check out the Databases[^] section here on codeproject.


这篇关于在编辑框中读取Excel工作表数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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