WHAT'S NEW?
Loading...

Visual Basic Refreshing Datagridview

I am not a good programmer, but i can show a simple logic on how to refresh a datagridview. Assuming our event is in button 1, i create a whole function that can be able to call a datagrid. (Inside the whole form, you have to call the whole code of the data view , for you to do it, I created a function. named "view()") (after deleting,adding and updating a data, I'm sure u want to see it immediately in datagridview, so what we have to do is call it once again from the sql. to do that, call the view function which we created.) This is my code for further reference; Hope this little idea of mine would help to fixed your project.