如何在Vb应用程序中存储信息? [英] How Do I Store Information In Vb Application?

查看:54
本文介绍了如何在Vb应用程序中存储信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个计算机名单

PC01

PC02

PC03





我想将这些信息存储在我的VB应用程序中,并允许用户根据需要更新列表。我怎样才能做到这一点?



当我通过我的vb编程执行一个程序时,程序也必须查询这个列表。



此致,

Chris

I have a list of computernames
PC01
PC02
PC03
etc

I would like to store this information in my VB application and allow users to update the list as needed. How can i make this possible?

The program would also have to query this list when i execute a via my vb programming.

Sincerely,
Chris

推荐答案

您可以尝试这些CodeProject文章作为起点

为初学者使用ADO.NET [ ^ ]

< a href =http://www.codeproject.com/Articles/9325/Database-Manipulation-with-ADO-NET-for-beginners>使用ADO.NET为初学者进行数据库操作 [ ^ ]



..

也可尝试这篇文章读取文本文件(txt,csv,日志,标签,固定长度) [ ^ ] - 一旦加载了数据,就可以查询内存数据表,例如使用Linq
You could try these CodeProject articles as a starting point
Using ADO.NET for beginners[^]
Database Manipulation with ADO.NET for beginners[^]

..
Try also this article Read Text File (txt, csv, log, tab, fixed length)[^] - once you get the data loaded you can query the in-memory datatable e.g. using Linq


这篇关于如何在Vb应用程序中存储信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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