Solved

updating a datagridview

Posted on 2014-07-26
1
274 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
1 Comment
 
LVL 10

Accepted Solution

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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

786 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