Profile Picture

NDataGridView Refresh...

Posted By Constantine Serafim 14 Years Ago
Author
Message
Constantine Serafim
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 2, Visits: 1

Hi,

I am using the NDataGridView control bound to a BindingSource. I can't seem to make the control refresh the cells if records are deleted/added. The SQL database gets updated but not the control.

Is there a way in VB to refresh the control? Can I have a sample code to do this please.

Thank you.



Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello Constantine,

NDataGridView control inherits from .NET DataGridView, and the databinding functionality is inherit from it.

If you are binding NDataGridView to a DataTable is this DataTable has the changes of the data that are made in the SQL database?

If these changes are applied in the data table the NDataGridView should be updated automatically.

Regards,

Angel.





Similar Topics


Reading This Topic