473,388 Members | 1,370 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

n-tier application - populating a combo box on a form

pod
298 100+
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 BusinessLogicLayer 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
Nov 4 '09 #1
0 1251

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Derk | last post by:
I have to write a web page wht three combo boxes, all three are to be populated from a database. - there tables = Bulidings, Floors and Offices The user will choose a 'Building' from the first...
8
by: Alison | last post by:
Hi, Al I am trying to design a user interface which provides both menus and toolbars for some users to click on whatever they want to do, at the same time, I would like to have a console window...
0
by: Sriram | last post by:
I have created a web service using C#. This basically receives a string as a parameter and returns an XML string. There is a specific requirment that the users should be able to call this web...
0
by: CanFlightSim | last post by:
I have created 3 combo boxes on my main form that allow me to search by company or by lastname or be phonenumber. (the combos are cleared after update) I am using the findfirst method and my...
0
by: heimdal | last post by:
I am new to VB. I have created a combo box in Visual Basic 2005 Express. I created this by dragging a field from a datasource across to the form as a combo box. However when I run the form I get...
2
by: timnels | last post by:
I've got an application whose main form I rehost (via SetParent) in a parent application's main form (on a panel). This works fine and all the controls work except the menustrip/toolstrip menus...
2
by: Dave | last post by:
I have 3 tables of information feeding into 4 combo boxes on my main form (DR Form). I have as many list boxes (acting as text boxes) as there are fields in each one of the 3 tables. Once...
8
by: Annalyzer | last post by:
I'm trying to populate a combo box on a form by inserting this query: SELECT * FROM menu WHERE NOT submitted; into the Row Source property of the combo box control. The Row Source Type is...
6
by: intergnat1 | last post by:
Hi All, My knowledge of VBA and Access 2003 is fairly limited so please bear with me: I am creating a repair invoice database with a form that I will use to record cameras taken in and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.