[英]Read data from text file
I want to read a few names that are saved in a text file and display it as a radio buttons. 我想读取一些保存在文本文件中的名称,并将其显示为单选按钮。 How should I go about it?
我应该怎么做?
Thanks! 谢谢!
I recommand parsing a txt file using String methods. 我建议使用String方法解析txt文件。 Then initialising a hashtable to get the parsed values.
然后初始化哈希表以获取解析后的值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.