|
I have a datagrid bound to a table through a DataSet that shows all of the rows in the table.
On the same form there's a button for adding a new row which opens a new dialog that walks the user through entering the proper information for a new item. The new item is added to the table via Linq to SQL when the user saves and exits the new dialog.
How do I get the DataGridView to refresh and show the new row? If I exit the application and restart it, the new row is displayed.
I'm guessing I have to call some method related to the bindings...?
Thanks.
J http://digitalcamel.blogspot.com - .Net, ILM, SQL and Anything Else That Falls Out Of My Brain |