Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how we can implement 3 tier architecture in asp.net?
Posted
Updated 18-Oct-10 19:23pm
v2

 
Share this answer
 
There is not to worry about it. It is a simple task.

Make a class for DBconnection.Make connection string in a mehtod returing the value .
Make a class for DBAccess-For qyeries (insert,delete,update,procedures).
Make a class for BAccess (Business Login)-call DBAcess and passing through parameter.
Last=From code behind pass values in BAAcess required function.
 
Share this answer
 
Simply just divide your application in three tiers as

1. Presentation Layer
Which will contain all the thing which makes your project to be presented from front side all types of css,Skins,Controls you have used etc.

2.Business Layer
Which ensures that the data inserted in your presentation side is Valid upto.Use all kind of business validation here.

3.Data Layer
All the data related task weather connecting to database and retrieving any data values.

You could have THIS[^] Link to be useful for further information.

Please vote and Accept Answer if it Helped.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900