Results 1 to 2 of 2

Thread: Fastest Fill and Display for DataGridView

  1. #1
    .NET Framework
    .NET 4.5
    Join Date
    Feb 2016
    Posts
    9
    Rep Power
    0

    Fastest Fill and Display for DataGridView

    I am using VS 2015 with C#, and I am binding a DataGridView with a list from a SQL Server database. There are only a half-dozen records, but the grid still seems to display and show those records "sluggishly". My laptop has a lot of power, so I don't think that's the issue.

    Is there any particular way to fill and display a DataGridView so that it shows the quickest way possible?

    Thanks for recommendations in advance!

    HL
    Fort Myers, FL

  2. #2
    .NET Framework
    .NET 4.5
    Join Date
    Apr 2011
    Posts
    1,956
    Rep Power
    151
    Binding a DataTable should not be considered slow. Either you're doing something wrong or there's something wrong with your project or system. To rule out the first possibility, show us what you're actually doing. Also, tell us how long it actually takes. Use a Stopwatch to time it so that you are talking quantitatively rather than qualitatively.

Similar Threads

  1. Question Display datagridview datas to richtextbox using a button
    By assultation in forum Windows Forms
    Replies: 2
    Last Post: 11-10-2014, 12:20 PM
  2. Can't get DataGridView inserted column to display
    By macnab in forum Windows Forms
    Replies: 2
    Last Post: 10-29-2014, 3:13 AM
  3. Question fill jpeg image with users text
    By manki in forum Graphics / GDI+
    Replies: 0
    Last Post: 06-21-2013, 6:31 AM
  4. Question gap fill question
    By jaanns in forum C# General Discussion
    Replies: 1
    Last Post: 03-21-2013, 10:18 PM
  5. Question Fill ListView With ArrayList from Text File
    By inkedGFX in forum Windows Forms
    Replies: 26
    Last Post: 02-09-2013, 6:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •