Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8245631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:14:41+00:00 2026-06-07T22:14:41+00:00

I have read the following article from MSDN: http://msdn.microsoft.com/en-us/library/aa581779 It talks about creating a

  • 0

I have read the following article from MSDN: http://msdn.microsoft.com/en-us/library/aa581779

It talks about creating a data layer, business logic layer and presentation layer and having naming conventions like getProductsDAL(), getProductsBLL() etc or even separating them into class libraries.

My question is: do developers follow this approach if .NET datasets are not used i.e. if youdo all the logic yourself e.g. have a function called getProducts, which connects to the database using a connection object and then loops through the resultset using an SQLDataReader and displays the results on the page. I am thinking about splitting functions like this into layers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:14:43+00:00Added an answer on June 7, 2026 at 10:14 pm

    If you are set on doing it your way:
    Your data layer will consist of methods that open a connection, execute a query/stored proc and return a dataset or datatable. This layer does not receive connection info from the layer above, and only returns query results from every method. Connections are instantiated at this level.

    Your business logic layer contains methods that call one or more datalayer methods each. Example: Adding a new user also means setting up permissions for that user, so DL.InsertUser(params…) and DL.SetPermissions(int Userid, List permissions) is called by BL.AddNewUser(params…). This BL method could also call another DL method that gets a list of default permissions to assign the new user

    Your UI Layer would call the BL.AddNewUser(params…) with all the appropriate new user details

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Firstly, I have read these: (1) http://www.gaiagps.com/news/article/iOS5%20Breaks%20Data%20Storage%20and%20Crushes%20My%20Soul (2) http://iphoneincubator.com/blog/data-management/local-file-storage-in-ios-5 (I can not submit more
i executed the following c code on my ubuntu machine...i have read about fcntl()'s
I have to read the xml node name from the following XML, but I
I have been playing with the demo code from this msdn article by Jeffrey
I have read the following article . They have quoted that, SQL Server is
I've just read an interesting article about how Microsoft seems to be moving towards
First of all let me tell you that i have read the following questions
So I have the following read and write file program for an Array. How
I am having following issue with reading binary file in C. I have read
Have a look at the following code you are not required to read the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.