hey all,
i have a customer class that when it gets instantiated creates a default new
row. when i retrieve a customer i just assign it to that new row and it
overwrites it with the retrieved data. no problems. however, when i go to
insert a new record that row already belongs to another record.
i resolved this by making my datarow a pulic property and when i add a new
row i just assign that public row property a new row. is this an ok way to do
this? or is there a better way? i want to make sure i'm coding for
readability?
thanks,
rodchar
|