如何在vb.net中将数组值插入XLS文件 [英] How to Insert array values into an XLS file in vb.net

查看:85
本文介绍了如何在vb.net中将数组值插入XLS文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含多个元素的数组.现在,我需要创建一个xls文件,并且需要将数组的所有成员写入xls文件,就像每个单元格一个成员一样.
昏暗的input()= {"ex1","ex2","ex3","ex4","ex5"}
现在,我需要创建examle.xls文件并将上述input()元素写入example.xls中.有任何建议吗?

I have an array which holds number of elements. Now I need to create an xls file and need to write all the members of array into xls file, like one member for each cell.
Dim input()={"ex1","ex2","ex3","ex4","ex5"}
Now I need to create examle.xls file and write above input() elements into example.xls Any suggestions please?

推荐答案

有很多 [
There are plenty of Code Project Articles[^] on the subject. This[^] one looks promising.


这篇关于如何在vb.net中将数组值插入XLS文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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