Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to update data in the datagridview during run time in VB.NET 2010 ?

user-image
Question added by Deleted user
Date Posted: 2013/06/12
Daanish Rumani
by Daanish Rumani , Product Manager , Publicis Sapient

You need to bind the data grid to a datasource and update the datasource at runtime.
The data grid updates as soon as you update it's datasource.
You can bind many formats of dat to the data grid, MSDN documentation has a good amount of detail on this topic: http://msdn.microsoft.com/en-us/library/system.windows.controls.datagrid(v=VS.95).aspx

You can use the method of binding the data grid to a datasource and update the datasource , or you can use a dataset , Or you can use the option datagridview.refresh if you are working on a simple prog

 

Hope that was useful

 

:D

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.