Start New Discussion within our Software Development Community


I have a listbox on my form that is bound to my SQL table. I have various functions to that table from my from (add rows, delete rows, edit rows). However, after I do one of these functions, the data in the SQL table updates correctly, but the listbox still shows the table values prior to doing that function. How do I update the contents of my listbox with the new values in my SQL table?

I have tried to re-bind the data....maybe I did it incorrectly. I dont have access to my code at the moment, otherwise I would post it...Thanks

If you are popoulating the listbox with a dataset, you just need to refresh the data.

What connection type are you using?

I got it to work by refreshing the data. Thanks! What do you mean by what connection type am I using?

This question has already been answered. Start a new discussion instead.