Hi,

I'm still a newbie to all of this but I'm wondering if anyone can help me…

I have a strongly typed dataset that I load from a database and then want to populate that information into a user controllable gui interface (simple boxes that are linked with a parent/child type relationalship and allow moving and expanding/collapsing while storing viewstate info independently of the database. Just like a simple treelist control, I guess, but flattened out into a kind of ‘mind map’.)

What’s the best coding practice I should use??

I'm thinking....

1) have the dataset item class 'member' hold both database and viewstate info
2) the viewstate class inherits the 'member' class/collection…. Somehow…
3) or have two completely different classes, one for database info ‘member’ and one for the viewstate (perhaps even make it into a control?) But my problem is the viewstate needs to know a lot of info from the database class and, personally, I find it messy to have lots of wire-ups.

I'm not sure and a little confused…..

Any help would be much appreciated!!!

Thanks in advance!
chris