Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2013/06/12
Daanish Rumani
par 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

Utilisateur supprimé
par Utilisateur supprimé

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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?