I am new to OOD and n-tier architecture but I want to start the right way.
In Visual Studio, I have created a solution with three projects c/w reference to each other i.e. the Business Logic Layer, the Data Access Layer and the Presentation Layer. I think I understand the overall aspect of n-tier architecture but I seem to get stuck in the detail of things ... like how should I approach populating a combo box on the form (Presentation Layer) ... Do I need to create a class in the BusinessLogicLa yer or Data Access Layer and set the combo box datasource to it?
I am tempted to write an SQL statement c/w connections and command parameters right in the form code and then set the control's datasource (the way I used to do it).
Please advise or point me to a very good tutorial that would illuminate me
Thank you in advance
P:oD
In Visual Studio, I have created a solution with three projects c/w reference to each other i.e. the Business Logic Layer, the Data Access Layer and the Presentation Layer. I think I understand the overall aspect of n-tier architecture but I seem to get stuck in the detail of things ... like how should I approach populating a combo box on the form (Presentation Layer) ... Do I need to create a class in the BusinessLogicLa yer or Data Access Layer and set the combo box datasource to it?
I am tempted to write an SQL statement c/w connections and command parameters right in the form code and then set the control's datasource (the way I used to do it).
Please advise or point me to a very good tutorial that would illuminate me
Thank you in advance
P:oD