我如何在VC#中将数据从UI反映到Excel [英] how do i reflect datas from UI to excel in VC#

查看:71
本文介绍了我如何在VC#中将数据从UI反映到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想在Visual Studio中构建Excel的前端,该前端在展览中显示(全屏显示),以便经过的人可以输入他们的姓名和电子邮件地址,并将其输入到我的Excel工作表.

我想要C#中的代码.任何人都可以在这方面帮助我..

名称:____________
电子邮件:____________
提交按钮

单击提交按钮后,名称和电子邮件的相应值应存储在我的Excel工作表中.



注意:我不想使用Interop,也不需要使用数据库.

有什么想法的人吗?提前谢谢!

Hi
I''d like to build a frontend for Excel in Visual Studio, which shows (full screen) at an exhibition, so that people walking past can just type in their name and email address, and it will be entered into the appropriate columns in my Excel sheet.

I want the code in c#.. Can anyone help me in this..

Name: ____________
Email: ____________
Submit button

After clicking the submit button, the appropriate values for the name and email should be stored in my excel sheet.



Note: I don want to use Interop, And no need to use DataBase..


Any ideas people? Thanks in advance!

推荐答案

尝试一下:
使用OLEDB读写Excel [
try this :
Reading and Writing Excel using OLEDB[^]


这篇关于我如何在VC#中将数据从UI反映到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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