ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 2013/06/12
Daanish Rumani
من قبل 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

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟