1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Rep Power

    Help with application performance problems

    Hello coders
    I want to know what will be the main features we have to use to increase application performance. Specially for data updations. There are many available but I want to know the best one.

    Any help.
  2. #2
  3. I'm Baaaaaaack!
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Jul 2003
    Rep Power
    My sig has a writeup on performance programming.

    My blog, The Fount of Useless Information http://sol-biotech.com/wordpress/
    Free code: http://sol-biotech.com/code/.
    Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
    Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.
    LinkedIn Profile: http://www.linkedin.com/in/keithoxenrider

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Rep Power

    Increase application performanc

    Avoid adding data to a binding list with more than 10 000 items when the grid is sorted. Stop sorting to improve performance. However, if you need to add large amounts of data in real-time to the beginning of the grid, it's better to use the following:

    grid.Sort.Enabled = false;
    grid.DataSource = _datasource_;

    //Add a single object to the beginning of the grid
    grid.Nodes.Insert(0, _new_object_);

    //Add a single object to the beginning of the binding list
    IBindingList bl = ...;
    bl.Insert(0, _new_object_);
    more detail visit dapfor. com

    Comments on this post

    • mitakeet disagrees : Is this an advertisement or something?
    • salem disagrees : Stop mentioning your silly site in every contrived post
    • ptr2void disagrees : The mentioned site (which should be removed) are habitual spammers

IMN logo majestic logo threadwatch logo seochat tools logo