Hi all
I've been programming commercially in VB for about 2 years now, i know C/C++ quite well and im im pretty much there with C# syntax too.
My question is how does OOP fit into my applications?
Everytime i read tutorials on this subject it all makes perfect sense but when you try and put it in to practice it doesn't seem to go as smooth as i'd like.
As an example i have a tblClients table in SQL which basically holds some basic information on our clients..
Would i build a Client Class for this object? Would i make the columns in the the table the field variables of the class?
I can see how all this would work simply by providing methods of the client class but this doesn't seem right???
Thanks in advance
Rob
I've been programming commercially in VB for about 2 years now, i know C/C++ quite well and im im pretty much there with C# syntax too.
My question is how does OOP fit into my applications?
Everytime i read tutorials on this subject it all makes perfect sense but when you try and put it in to practice it doesn't seem to go as smooth as i'd like.
As an example i have a tblClients table in SQL which basically holds some basic information on our clients..
Would i build a Client Class for this object? Would i make the columns in the the table the field variables of the class?
I can see how all this would work simply by providing methods of the client class but this doesn't seem right???
Thanks in advance
Rob