Hey guys I'ld really appreciate if u can help me with this.
I'm building an application that has an access database for storing codes for voters.
my problem is that after i update my database with the usual vb codes, i'll have to exit the application before the datagrid view can read the update. please is there a way for me to see the changes i've made with the datagrid view without my exiting the application. I'm using vb 2010 express. thanks guys
juniorsilver
0
Newbie Poster
Recommended Answers
Jump to PostIt's very simple, just after your Save button or you can make a refresh button you can add the code to fill the datagrid view again.
For example I have a Save button, I did the code "insert into......." after the the code which saves the query you will …
Jump to Postit's actually pretty simple. Create a sub with the code you've used to populate the datagrid in the first place and call that sub whenever you want to load data into the datagrid (on form load, after an insert/update/delete or on a button click event).
All 5 Replies
danthevan
0
Light Poster
adam_k
239
Master Poster
juniorsilver
0
Newbie Poster
juniorsilver
0
Newbie Poster
juniorsilver
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.