VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Manipulating Data using Collection and Classes

Apurva Lawale  (1 Submission)   Data Structures   Intermediate   Wed 3rd February 2021

Shows how a VB Class and Collections can be used to manipulate data in memory. A very simple example showing some intermediate-advanced stuff of data manipulation.
To handle a lot of data newbies normally use arrays so I hope this example will help them understand Collections + Classes and appreciate their worth. You could use the technique showed in this example to manipulate data in memory
then you could save it in an XML file or database. You could load database table info and manipulate it / update it. You could do a lot with much less code without breaking a sweat.
The code in Employee and EmployeeCollection classes are commented.
Understand those two classes. They are pretty small.
The comments should help you understand them well.
I recommend you look at the Employee Class first and understand
Then look at the EmployeeCollection Class
Then read the code in this form.
Vote if you like this small elegant solution. Voting much appreciated.
Apurva Lawale - https://www.apurvalawale.com/

Rate Manipulating Data using Collection and Classes (7(7 Vote))

Download Manipulating Data using Collection and Classes

Manipulating Data using Collection and Classes Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters