The difference with my solution is focusing on data input where it should be, not via code.
That's why interfaces are designed and built.
Also, in your solution you have to go up and look up the id for each category. if you simply have that field in the UI for category properties -- dead simple.
Last edited by bradleyhebdon : April 10th, 2014 at 03:34 PM.
|