Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

updating a datagridview

Posted on 2014-07-26
1
Medium Priority
?
290 Views
Last Modified: 2014-08-10
hi - I'm implementing a cut, copy paste routine using a DGV. I have everything working except undo and redo. the DGV is data bound to an underlying DataTable. when paste, I save the DataTable instance to a buffer DT array. this works fine. but when I go to restore the old copy of the DT, I can't get the DGV to refresh with the old data. if I look at the operating DT, it shows the correct values of the old DT, but the DGV hasn't refreshed. I'm hoping not to have to go through and manually copy everything back.
any suggestions?
thanks,
Jim
0
Comment
Question by:jdcoburn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
FamousMortimer earned 1500 total points
ID: 40222626
Did you try refreshing or invalidating the datagrigview after the underlying data changed?
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Simple Linear Regression

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question