G
Guest
All,
I have a windows form application. The form will host various user controls
that will implement an interface so that was new controls can be added later
without recompiling the hosting program.
The various controls will be displaying data that is stored in a SQL database.
My question is what is the prefered way of having the controls access the
business layer that will in turn access the data layer? Does the control
access the business layer directly or does the control get access via the
hosting form? Any insight or reasons as to why one way is prefered would be
great.
Thanks for the help!
Dan
I have a windows form application. The form will host various user controls
that will implement an interface so that was new controls can be added later
without recompiling the hosting program.
The various controls will be displaying data that is stored in a SQL database.
My question is what is the prefered way of having the controls access the
business layer that will in turn access the data layer? Does the control
access the business layer directly or does the control get access via the
hosting form? Any insight or reasons as to why one way is prefered would be
great.
Thanks for the help!
Dan