Hello,
I've just been assigned to work on a new, partially coded UI (in vb.net). After some analysis, I can see that there are 2 main pages, which have been developed to handle 2 different types of data - let's call them DataTypeA and DataTypeB. So if you're working on DataTypeA, you will choose Page1 off the menu, and if working on DataTypeB, you will choose Page2. Now DataTypeA and DataTypeB seem to have about 60-70% of their data fields in common. The UI calls different stored procs to retrieve the data, but the results sets are very similar. Processing is also similar, although not the same in all cases. Therefore Page1 and Page2 look and act very similar. I see too many sections of duplicated code for my comfort (markup as well as code-behind). Most of the differences are simply that the columns displayed in the grids are a bit different. I also see where the previous developer put some common code into include files.
So. I' ...
Go to the complete details ...