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 557051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:59:05+00:00 2026-05-13T11:59:05+00:00

Hai guys, I ve developed a web application using asp.net and sql server 2005

  • 0

Hai guys,

I ve developed a web application using asp.net and sql server 2005 for an attendance management system.. As you would know attendance activities will be carried out daily.. Inserting record one by one is a bad idea i know,my questions are

  • Is Sqlbulkcopy the only option for me when using sql server as i want to insert 100 records on a click event (ie) inserting attendance for a class which contains 100 students?
    I want to insert attendance of classes one by one?
  • 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-05-13T11:59:06+00:00Added an answer on May 13, 2026 at 11:59 am

    Unless you have a particularly huge number of attendance records you’re adding each day, the best way to do it is with insert statements (I don’t know why exactly you’ve got it into your head that this is a bad idea, our databases frequently handle tens of millions of rows being added throughout the day).

    If your attendance records are more than that, you’re on a winner, getting that many people to attend whatever functions or courses you’re running 🙂

    Bulk copies and imports are generally meant for transferring sizable quantities of data and I mean sizeable as in the entire contents of a database to a disaster recovery site (and other things like that). I’ve never seen it used in the wild as a way to get small-size data into a database.


    Update 1:

    I’m guessing based on the comments that you’re actually entering the attendance records one by one into your web app and 1,500 is taking too long.

    If that’s the case, it’s not the database slowing you down, nor the web app. It’s how fast you can type.

    The solution to that problem (if indeed it is the problem) is to provide a bulk import functionality into your web application (or database directly if you wish but you’re better off in my opinion having the application do all the work).

    This is of course assuming that the data you’re entering can be accessed electronically. If all you’re getting is pieces of paper with attendance details, you’re probably out of luck (OCR solutions notwithstanding), although if you could get muliple people doing it concurrently, you may have some chance of getting it done in a timely manner. Hiring 1,500 people do do one each should knock it over in about five minutes 🙂

    You can add functionality to your web application to accept the file containing attendance details and process each entry, inserting a row into your database for each. This will be much faster than manually entering the information.


    Update 2:

    Based on your latest information that it’s taking to long to process the data after starting it from the web application, I’m not sure how much data you have but 100 records should basically take no time at all.

    Where the bottleneck is I can’t say, but you should be investigating that.

    I know in the past we’ve had long-running operations from a web UI where we didn’t want to hold up the user. There are numerous solutions for that, two of which we implemented:

    • take the operation off-line (i.e., run it in the background on the server), giving the user an ID to check on the status from another page.
    • same thing but notify user with email once it’s finished.

    This allowed them to continue their work asynchronously.

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

Sidebar

Related Questions

Hai guys, As i want to develop an application using asp.net MVC, i dont
Hai guys, Any one knows what are the server requirements to host an asp.net
Hai Guys, Like DataAccessApplicationBlock for .net with sql server,Is there any thing for MySql
Hai guys, I know asp.net web forms supports event driven programming approach and it
Hai i developed a application using broadcast receiver.I need to wake my Application always.so
Hai, I wanna ask something.. I was developed code in ASP.NET and C#. on
Hai, Am using DevExpress LookupEdit in C#.NET application.I want to clear all items in
Hai Guys, My application deals scheduled mail concept (i.e) every morning 6.00 am my
Hai guys, I want to send scheduled mail every morning from my application and
Hai Guys, How to get wan ip address of my user using php....

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.