C datagridview bound to datatable not updating

I solve the "non-displaying" problem, but still have the "selection" problem. Thanks, -- George Hi Jeffrey, My code is similar to yours, with one exception. Hence, there is no interaction to the Data Grid View.

I also notice that, as soon as I delete or cell-update a row, all these problems go away. I suspect the "in-activity" is causing the refresh problem. As soon as I "interactively" delete a row, everything is fine. Thanks, -- George ""Jeffrey Tan[MSFT]"" wrote: Hi George, Thanks for your post!

If I minimize and show my form, the new rows are now shown in my form. I have a File System Watcher which detects a new input file.

The problem I am having is that I have some functions that will build a new Data Table object which is separate from the original which needs to replace the original Data Table that is bound to the Data Grid View.

Hi, I have been encountering a refresh problem with Data Grid View, which is bound to a Data Table.

When I make updates (Add, Delete, update) to the Data Grid View, everything flow nicely to Data Table. However, when I add data (programatically) to the Data Table, the Data Grid View does not refresh right away.

Yes, I think your background information is critical regarding resolving your problem. Comment: Wrapping these calls become very cumbersome, and potentially a bottle neck since UI thread may be bogged down by work.

File System Watcher event fires in another thread other than the main GUI thread, if you add the new row into the Data Table directly, the . Does Microsoft plan to make Data bound control such as Data Grid View, multi-thread safe?

Leave a Reply

  1. Online skype sex chats no credit cards needed 25-Jul-2020 15:46

    It gave a new twist to the already-dramatic reality series; it was 2.0 and Cory quickly became one to watch, especially when producers threw his ex Lauren into the mix, while he’d already slept with somebody else.

  2. Free sexchatroulette videos 06-Dec-2019 08:41

    En revanche, le lycéen n'a pas pris la précaution de se débarrasser du téléphone portable ni des écouteurs de la jeune fille, retrouvés en sa possession.

  3. rowupdating event in gridview in asp net with c 06-Aug-2020 06:49

    Beneath the live video, you will see a range of personal information about the person you are watching.

  4. Free sex chat no email or sign up 02-Nov-2020 09:19

    Having said that, if you would rather watch than chat, that’s cool too.