Solved

updating a datagridview

Posted on 2014-07-26
1
284 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 500 total points
ID: 40222626
Did you try refreshing or invalidating the datagrigview after the underlying data changed?
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

718 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