G
Guest
I have a base form in VB.Net (Name and address). It has datasets.
I inherit this form and add add'l Info (ie: Phone Numbers)
I inherit from this form and add specific logic for the business need.
I don' t think I need to discuss the advantages of inheritance within this
forum, so here is the problem:
The form was originally designed in .Net 1.0 and upsized to .Net 1.1
The designer reconfigures all of the code such that sometimes (very
frustrating to debug), the redisigned code tries to reinitialize the dataset
which was inherited from the base form. This causes a runtime error since we
are trying to initialize a datarelation which has already been initialized.
Any Thoughts?
I inherit this form and add add'l Info (ie: Phone Numbers)
I inherit from this form and add specific logic for the business need.
I don' t think I need to discuss the advantages of inheritance within this
forum, so here is the problem:
The form was originally designed in .Net 1.0 and upsized to .Net 1.1
The designer reconfigures all of the code such that sometimes (very
frustrating to debug), the redisigned code tries to reinitialize the dataset
which was inherited from the base form. This causes a runtime error since we
are trying to initialize a datarelation which has already been initialized.
Any Thoughts?