Click here to Skip to main content
15,890,186 members
Home / Discussions / C#
   

C#

 
GeneralRe: Beginners help with classes Pin
kruegs352-Dec-10 3:28
kruegs352-Dec-10 3:28 
GeneralRe: Beginners help with classes Pin
musefan2-Dec-10 3:38
musefan2-Dec-10 3:38 
GeneralRe: Beginners help with classes Pin
PIEBALDconsult2-Dec-10 8:25
mvePIEBALDconsult2-Dec-10 8:25 
AnswerRe: Beginners help with classes Pin
#realJSOP2-Dec-10 3:21
mve#realJSOP2-Dec-10 3:21 
GeneralRe: Beginners help with classes Pin
kruegs352-Dec-10 3:45
kruegs352-Dec-10 3:45 
GeneralRe: Beginners help with classes Pin
Jeff Connelly2-Dec-10 4:53
Jeff Connelly2-Dec-10 4:53 
GeneralRe: Beginners help with classes Pin
DaveyM692-Dec-10 9:30
professionalDaveyM692-Dec-10 9:30 
AnswerRe: Beginners help with classes Pin
V.2-Dec-10 23:31
professionalV.2-Dec-10 23:31 
There is a lot of literature already pointed out, but with a database object you can't "do" things. In your example the car will contain it's properties like model, color etc..., but also methods to do stuff like "accelerate", "brake", "turn" etc... Other reasons to put things in a class is so you can do validation on them 'before' going to the database.

This has not mentioned the OO principles yet, which is in itself a big topic you should read up on.

hope this helps.
V.

QuestionExecuteNonQuery Problem Pin
Erdinc272-Dec-10 1:40
Erdinc272-Dec-10 1:40 
AnswerRe: ExecuteNonQuery Problem PinPopular
Hiren solanki2-Dec-10 1:46
Hiren solanki2-Dec-10 1:46 
GeneralRe: ExecuteNonQuery Problem Pin
Eddy Vluggen2-Dec-10 1:53
professionalEddy Vluggen2-Dec-10 1:53 
GeneralRe: ExecuteNonQuery Problem Pin
Erdinc272-Dec-10 2:05
Erdinc272-Dec-10 2:05 
AnswerRe: ExecuteNonQuery Problem Pin
musefan2-Dec-10 1:47
musefan2-Dec-10 1:47 
GeneralRe: ExecuteNonQuery Problem Pin
musefan2-Dec-10 6:25
musefan2-Dec-10 6:25 
QuestionError regarding crystal report? Pin
Tridip Bhattacharjee2-Dec-10 1:31
professionalTridip Bhattacharjee2-Dec-10 1:31 
AnswerRe: Error regarding crystal report? Pin
Hiren solanki2-Dec-10 1:50
Hiren solanki2-Dec-10 1:50 
QuestionWinForms VS. WebForms Pin
treuveni2-Dec-10 1:24
treuveni2-Dec-10 1:24 
AnswerRe: WinForms VS. WebForms Pin
Hiren solanki2-Dec-10 1:32
Hiren solanki2-Dec-10 1:32 
AnswerRe: WinForms VS. WebForms Pin
Sathesh Sakthivel2-Dec-10 1:50
Sathesh Sakthivel2-Dec-10 1:50 
GeneralRe: WinForms VS. WebForms Pin
Hiren solanki2-Dec-10 1:57
Hiren solanki2-Dec-10 1:57 
GeneralRe: WinForms VS. WebForms Pin
Ankur\m/2-Dec-10 2:44
professionalAnkur\m/2-Dec-10 2:44 
GeneralRe: WinForms VS. WebForms Pin
Chris Maunder2-Dec-10 12:24
cofounderChris Maunder2-Dec-10 12:24 
QuestionC# window app to listen multiple port simultaneously.. Pin
ayandelhi1-Dec-10 23:41
ayandelhi1-Dec-10 23:41 
AnswerRe: C# window app to listen multiple port simultaneously.. Pin
Luc Pattyn2-Dec-10 0:38
sitebuilderLuc Pattyn2-Dec-10 0:38 
GeneralRe: C# window app to listen multiple port simultaneously.. Pin
ayandelhi2-Dec-10 5:57
ayandelhi2-Dec-10 5:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.