A
Alan T
I have a page have 2 dropdown list on it.
eg.
employee (John, Peter, Mary, ...)
offices (eg. New York, Chicago, ...)
These will be fetched from database to populate it.
I have defined data access object and business object for these 2 classes.
Do I need to create a model for each of them to linke to dropdown list?
Or just like normal datasource to do population?
I think I should have a model link to this 'View'.
So what should I do?
eg.
employee (John, Peter, Mary, ...)
offices (eg. New York, Chicago, ...)
These will be fetched from database to populate it.
I have defined data access object and business object for these 2 classes.
Do I need to create a model for each of them to linke to dropdown list?
Or just like normal datasource to do population?
I think I should have a model link to this 'View'.
So what should I do?