NDataGridView Refresh...


Author
Message
Constantine Serafim
Constantine Serafim
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
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.


Reply
Angel Chorbadzhiev
Angel Chorbadzhiev
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
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.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search