在文本框中读写文本文件。 [英] read and write a text file in textbox.

查看:57
本文介绍了在文本框中读写文本文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在文本框中以相同格式的文本文件读取和写入文本文件?



例如

这是我的演示.txt文件



姓名=

Mahesh A. Wani



地址=

Ganesh Colony,Ring Road

Jalgaon-425001



此文件同样显示在文本框中上面:



姓名=

Mahesh A. Wani



地址=

Ganesh Colony,Ring Road

Jalgaon-425001

I Want read and write a text file in text box in same format of text file?

e.g.
this is my demo.txt file

Name=
Mahesh A. Wani

Address=
Ganesh Colony, Ring Road
Jalgaon-425001

This file also display in text box same as above:

Name=
Mahesh A. Wani

Address=
Ganesh Colony, Ring Road
Jalgaon-425001

推荐答案

你好



mahesh可以通过多种方式完成此任务。你试过什么粘贴你的样本代码
hello

mahesh many ways availaible to do this task. what have you tried paste ur sample code


这篇关于在文本框中读写文本文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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