Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Datagridview stays filled even windows form is closed

$
0
0

Hi, I have a problem which I encounter during my work. I have second windows form Form2, opened from the first one, Form1, and there I have datagridview. All work with datagridview (datagridview1) is already made, exept the last one. I wanna make, that if I fill this datagridview and close Form 2, all information would be saved, so when I again open Form 2 from Form 1, datagridview would be as it was before I close Form 2 for the first time. 

I found on several sites that I would have to make a datatable which would be binded with datagridview. If this really is the case, than how would I do it? 

Thanks for help



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>