Well, I hard coded the values for my to and from combo boxes and I still got a perfect score on the GUI section.
I agree that this is not the best way to do this. If any new airport codes are added the GUI will have to be modified. However, if you perform a lookup to read every record from the database and get this list you could have performance problems. Specifically, if the database becomes very large and there are still only a few unique airport codes a lot of time will be wasted reading in duplicate codes.
Just something to think about.
------------------
James Nuzzi
SCJP,
SCJD, SCWCD
James Nuzzi<br /> <br />SCJP 1.2, 1.4, 5.0, 6<br />SCJD<br />SCWCD<br />MCSE NT 4.0<br />MCAD C# .NET