samedi 4 avril 2015

How to properly fetch datagridview

In my WinForms app, i've three tabs and in each tab a gatagridview. If i click a btn to display records in tab1 datagridview, it populates BUT if i go to tab2 and hit a button to display a different record, it first displays me the right records and then dispalys me the same records in tab1 or tab3 if a different button is clicked.


It then populate me the same record from tab1,tab2 and tab3.


How can i solve this problem OR is it that i declared a globale Datatable dt variable?


Aucun commentaire:

Enregistrer un commentaire