如何将数据写入.prn文件? [英] How to write Data into .prn file ?

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

问题描述

Hi Team,

我已经从excel读取数据并保存到数据集中。在这里,我一直在尝试将数据集数据写入.prn文件。我一直在搜索很多网站,我甚至找不到一条关于将数据写入.prn文件的代码。如果有人知道如何将数据写入.prn文件,分享知识。



问候

Nanda Kishore.CH

解决方案

看看这里:格式化文本(.prn)是有限的Excel中每行240个字符 [ ^ ]



* prn文件只是一个文本文件。唯一的区别是,每行限制为240个字符。



如何写入文本文件?

如何:将文本写入文件 [ ^ ]

代码:写入文本文件(Visual C#) [ ^

Hi Team,
I have read data from excel and saved into dataset. here i have been trying to write dataset data into .prn file. i have been searching many sites, i didn't find even one piece of code about writing data into .prn file. if any one know how to write data into .prn file, share the knowledge.

Regards
Nanda Kishore.CH

解决方案

Have a look here: Formatted text (.prn) is limited to 240 characters per line in Excel [^]

*prn file is just a text file. The only difference is that, that it is limited to 240 characters per line.

How to write to text file?
How to: Write Text to a File[^]
Code: Writing to a Text File (Visual C#)[^]


这篇关于如何将数据写入.prn文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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