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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:27:39+00:00 2026-05-18T23:27:39+00:00

Ok, the story so far is i have a datatable, about 10,000 lines or

  • 0

Ok, the story so far is i have a datatable, about 10,000 lines or so. and about 150 columns per row. ao more or less 150.000 cells in this datatable. i have all updateing working fine
but the updating is slow.
I need to iterate through a list of porcedures then update cells in the table depending on the procedure. when i am completle finished updating about 75% – 80% of all the cells will have changed.
I am using a search on the table using a primary key index assigened to an INT value.

datatable.rows.find() seems a a little quicker
datatable.select ( expression ) almost the same but little difference.

Is there any ideas who may speed this up. uppon changing 80,000 – 120,000 cells it can take minutes.

anyideas would be great thanks.

  • 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-18T23:27:40+00:00Added an answer on May 18, 2026 at 11:27 pm

    A study in the March 2005 issue of ASP.Net Pro magazine compared various approaches involving DataTables, DataViews and DataReaders. Their findings were that the fastest approach depended upon the number of records involved.

    For 50 records or less, by far the fastest search method was a For..Next loop on the DataTable's DataRowCollection. That approach was followed by DataRowCollection.Find. Many times slower were re-retrieving the data with a DataReader, using DataView.RowFilter, and worst of all using DataTable.Select.

    For 500 – 5,000 records, the fastest search was with DataRowCollection.Find, followed closely by DataTable.Select. The worst by far for this range of records were DataView.RowFilter and DataView.FindRows.

    For 50,000 records, the fastest search was accomplished with DataRowCollection.Find. In a close second place was re-retrieving the records with a DataReader. The worst by far for this category were DataView.RowFilter and DataView.FindRows.

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

Sidebar

Related Questions

The story so far: I have a rails app with a model named Term.
i have build an About the Author views block in Drupal. This is linked
I have this schema: Story _id name Paragraph _id text story_id ( the chapter
Story so far..... I want to learn JQuery, and im also building an MVC
Story so far.... Hello Stackoverflowers, me again! Right, im learning JQuery at the moment
I've got three entities in my application so far: tag, feed and story A
Story: One of the app that i have works on python 2.4 and other
Story: I have a link which has some text. A part of the link
User Story: Action for Facebook that has open graph object. For this I need
I have a blog-like application with stories and categories: class Category(models.Model): ... class Story(models.Model):

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.