Saturday, May 12, 2007

Day 3 - Data from Excel to DB - Forms app


1pm
Michael wrote a Win Forms application that is a project in our existing solution. Basically it uses the Entities layer of our design (Common layer) by

Questions.Add( q );

where q has been instantiated as a new question object, and has properties of text, answer and clue.
When Parse button clicked, instantiates a new object of the filconverter class called conv. Then calls the conv.run(filename.text) method.
The form uses:

private TList questions = new TList();
which is a collection of Question (which is what we have defined in our Entities class), using generics. **To Do... comment source code**


No comments: