1
Answer

DataGridView - Difficulties refreshing data binding

William Reynolds

William Reynolds

15y
5.5k
1

I am working with C# in VS 2008.  For years, I have written logic code.  I am now writing a windows form data application with a GUI .  I am beginning to appreciate the skill/knowledge of the GUI gurus.  I am using an Access back-end.  I noticed that when I drag and drop a table or query to the form it produces a DataGridView bound to whatever I had selected.  I thought this was way cool.  I tossed a few text boxes on the form to provide the user with the ability to add a new record.  That worked fine – almost.  Although the new record was added to the database I have been, as yet, unable to display the new record in the DataGridView.  I figured, “How hard can it be to refresh a data binding?”  I beginning to think it is very hard or impossible.  Any suggestions will be very much appreciated.

Answers (1)