How To Save Values Of Certain Controls

Bam

Member
Joined
Oct 19, 2005
Messages
15
Location
Ireland
Programming Experience
Beginner
Hi Folks,

I have a small project im currently working on. I basicly Holds the details of customers and the item they wish to pre order befor comming to collect.

I have list box which Holds the Customers in each line. The Problem is i dont know how to save this data after the program finishes. Im new to vb and cant get my head around this one.
 
Yeah it would be considered as a data base i suppose. VB.NET 2003 standard edition. Im only learning
 
Since you are learning, I would suggest that you download VB Express 2005 and SQL Express 2005 http://msdn.microsoft.com/vstudio/express/vb/.

In this new version you can create Data Tables in the IDE.

Right Click in the Solution Explorer, select add/New Item and then SQL DataBase to which you give a name, then click Add.

Click on the DataBase Explorer Tab, right click on Tables to add your tables. After you are done, you can add data to you table by right clicking on the table's name and selecting "Show Table Data" (of course you will do that by code later on).

To create an input Form you just need to drag your DataTable from the Data Sources tab to your form.

You could also use DataTable.WriteXML and DataTable.ReadXML.

You can learn by dowloading very useful WMP videos: http://msdn.microsoft.com/vstudio/express/vb/learning/
 
Back
Top