How use Data Tables with XML Files in Visual Basic VB.Net

preview_player
Показать описание
In this lesson we show how to combine VB Data Tables with external XML Files so that we have permanent XML Storage of the data in the Tables.

If you have not used Data Tables before, you are in for a real treat.
VB Data Tables really unleash the power of Object Oriented Programming and are by far the best method of dealing with XML File Processing.

In the lesson we setup and then use a Data Table to enter some summary data for Players in a Tennis Dream Team, and then save the whole dataset permanently to an external XML File.

See the full lesson contents in the Video Timeline Index further below.

If you are a Teacher watching this video we suggest you click the downloads link below and get the lesson materials for your students.
Give these resources to your students and we think you will find that some of them will "get it" very quickly.
The other students need to watch this video which goes through everything in full detail slowly step by step with repetition of examples.

This is a detailed video, if you want to fast track learning about working with XML Files, then just Download and quickly read through the PDF of the Presentation using the Link given further down below.

Then for anything you do not fully understand in the PDF document, simply use the Timeline Index below to go and watch the relevant section of Video explanation.

If you have the time it will be extremely beneficial to watch the entire video to maximize learning outcomes.

VIDEO TIMELINE INDEX:

(Click on the time number to jump to that section of the video).

00:00 to 01:18 Introduction and Lesson Contents
01:18 to 03:48 Preview of Finished Program
03:48 to 04:08 Quick Review of XML File Structure
04:08 to 04:59 Purpose of the program for this Lesson
04:59 to 14:00 The 10 Steps to Create a VB Data Table
14:00 to 21:26 Using the Data Table to Create the Form
21:26 to 22:53 Program Code to Read XML File into Data Table
22:53 to 26:10 Program Code for SAVE icon to Write XML File
26:10 to 30:57 Issues and Program Code for the DELETE icon
30:57 to 33:55 Testing the Delete Player Record Processing
33:55 to 37:25 Version 2 Program with Validation Processing
37:25 to 40:59 Coding the User Inputs Validation Subroutine
40:59 to 43:20 Coding the Date Validation custom Function
43:20 to 45:13 Coding the Future Dated Birth Date Checking
45:13 to 46:11 Processing the Validation Results
46:11 to 50:23 Testing the User Input Validations
50:23 to 52:19 The Power of Object Oriented Programming
52:19 to 53:28 Challenge Task
53:28 to 54:00 Our Website Programming Course
54:00 to 54:32 Video Wrap Up and Outro

This video will be useful for anyone learning Computing, especially students doing VCE Computing or VCE Software Development high school courses in Australia, and GCSE in the UK.

Check with your Teacher or Instructor before getting any Downloads from our Website, as they may already have these materials for you.

You can download a hard copy of this Presentation and the Full Program Code at the following link:

Check with your Teacher or Instructor first, as they may already have these Download materials for you.

You can check out our full Programming Course at the following link:

We are planning to make a number of Programming Videos that will be a great course for people to learn how to program in Visual Basic.

Like this video if you found it helpful.

Subscribe to our Channel to get notified of our weekly video updates.

Enjoy,
Passy
Рекомендации по теме
join shbcf.ru