Caveat: this answer assumes the Data Gridview is a simple single independent one, no parent Data Gridview (related table).
Here is that code: also, when you press your "INSERT" or "ADD" into table button, you need to load your table again (go again through this select * from .... And, you need to do that every time you make a change to your table!!!Also see How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio. I could bound the data in a datagrid, but the changes I make in items does not fire the Raise Property Changed method of the Model. What is the best way to refresh a Data Grid View when you update the base data source?I'm updating the datasource frequently and wanted to display the outcome to the user as it happens.For information about building this example from the command line for Visual Basic or Visual C#, see Building from the Command Line or Command-line Building With