不是从DataGrid将字符串数据保存到Excel文件中 [英] Save String Data into Excel file not from DataGrid

查看:176
本文介绍了不是从DataGrid将字符串数据保存到Excel文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我在VS2010中开发了一个VB应用程序.现在我需要实现将String数据导出到Excel文件.在这里,我明确提到不是从datagrid转换为excel,而是将String数据转换为excel.
请任何人帮助我.
仅字符串数据已导出到excel.
我是在VB6中完成此操作的,但我没有在VB.NET中进行操作的想法.
请帮帮我.

Hai all,
I develop one VB Application in VS2010. Now i need to implement String data has been Export to excel file. Here i clearly mention that not from datagrid to excel, String data into excel.
Please any one help me.
Only the string data has been exported to excel.
I done this in VB6 but i don''t have idea to do in VB.NET.
Please help me .

推荐答案

字符串数据,但是从哪里来?用户将提供输入还是什么?
您已经在vb6中做到了.只需解释一下逻辑即可.
这是在Excel中写入字符串数据的链接,选中此 [
string data but from where ? user will give input or what ?
you have alreay done it in vb6. just explain the logic.
here is link to write string data in excel, check this[^]


本文 [ ^ ]应该使您对需要做的事情有个清晰的认识.
该示例位于VB.Net中,应该可以为您提供帮助.
This article[^] should give you a fair idea of what you need to do.
The sample is in VB.Net and should help you out.


这篇关于不是从DataGrid将字符串数据保存到Excel文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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