PC Review


Reply
Thread Tools Rate Thread

Databases and object programming

 
 
ECathell
Guest
Posts: n/a
 
      1st Apr 2005
I am creating an interface that is to be used for editing product information for our location. Currently I have written the main [Product] class and its routines and functions. I am starting to work on the sub objects of [Products] for instance Boxes.

Each product is packed in a box of a specific type. While I really had no trouble with the product class and its setup, I am thinking I could do things better, or differently. A box has 3 attributes, the Boxtype, BoxTare, BoxDescription. You would think that it would be easy to setup a class for this, but for somereason I am having design issues. Part of the reason is I am getting caught up in interface design and not the object design.

How do those of you who code data-bound objects do so? I think I am doing the tier development right. The interface edits the object, the object edits the database. But for instance, for the box editor I have 3 text boxes that display the information on the current box. I have a listbox that reads a datatable of the boxes table. I dont think I am doing this right. I should really have an object that is a collection of boxes that the listbox uses, correct?

I think I will leave it at that and answer specific questions as they are asked for clarification.

--
--Eric Cathell, MCSA
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Object Oriented Databases Jeremy Microsoft ADO .NET 0 19th Jul 2006 02:42 PM
object databases =?Utf-8?B?Z3V5?= Microsoft VB .NET 0 9th Jun 2006 02:31 PM
Programming OLAP Databases from Microsoft Access Using DSO =?Utf-8?B?VHJpbg==?= Microsoft Access VBA Modules 0 7th Apr 2006 08:54 PM
Programming databases in .NET - please help lennon1@poczta.wp.pl Microsoft C# .NET 6 21st Mar 2006 01:39 AM
OO Programming and Relational Databases - please help! Rob Thomas Microsoft C# .NET 2 22nd Aug 2003 06:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:04 PM.