Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > Database > Database General Discussion

Database General Discussion General discussion on database related topics

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2009, 5:42 AM
VB.NET Forum Newbie
.NET Framework: .NET 3.0
 
Join Date: Nov 2009
Posts: 2
Reputation: 0
farhan76.net is on a distinguished programming path ahead
Angry Why and How use OOP style in database programming...

Dear all friends.

I'm just new to this forum, I'm a VB6 programmer, not a very good programmer but can develop complete applications in VB6,SQL 2000 and Crystal Reports.

I'm confused in a concept since my start of career WHY WE USE OBJECT ORIENTED PROGRAMMING (CLASSES / OBJECTS) when doing Database Programming like a inventory, payroll etc. system. May be my question is wrong, but its teasing my mind.

Question came in my mind i.e. we can create a simple form from which we can View, Add, Edit and Delete records by simple recordsets, but WHY AND HOW TO DO DATABASE PROGRAMMING BY CLASSES AND OBJECTS.

If there is a valid reason, pz. specify example or good links.

Farhan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-18-2009, 8:18 AM
Hack's Avatar
VB.NET Forum Master
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Apr 2009
Location: Sterling Heights, MI
Age: 59
Posts: 313
Reputation: 0
Hack an unknown entityHack an unknown entityHack an unknown entityHack an unknown entity
Default

For small projects, I don't think it really matters that much.

Large projects often, if not always, require some abstraction, reusability, and encapsulation. I think this is where OOP plays a large and important part.

This, however, is just my opinion.
__________________
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Microsoft MVP 2005/2006/2007/2008/2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-19-2009, 12:32 AM
VB.NET Forum Newbie
.NET Framework: .NET 3.0
 
Join Date: Nov 2009
Posts: 2
Reputation: 0
farhan76.net is on a distinguished programming path ahead
Default

Ok, and how to do it, any example code for VB6 to create a form for Add, Edit, Delte and View Data.???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-20-2009, 8:03 AM
Hack's Avatar
VB.NET Forum Master
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Apr 2009
Location: Sterling Heights, MI
Age: 59
Posts: 313
Reputation: 0
Hack an unknown entityHack an unknown entityHack an unknown entityHack an unknown entity
Default

Couple...(but I'd strongly suggest switching to VB.NET)

Object Oriented Programming and Visual Basic

Creating Your Own Collection Class: The House of Bricks
__________________
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Microsoft MVP 2005/2006/2007/2008/2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
db programming by oop


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 11:41 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.