I have an unbound datagridview that I enter data into. I'd like to "convert" this datagridview into a new table saved in a database. So for example I insert data to the datagridview, click save, it saves as "table 1". It then clears, I enter some more data, click save, it saves as "table 2".
I wish to then view all datatables in a "server explorer" type control (this isn't important at the moment) and when clicked on open so you can view the data.
How can I do this? and assign a unique name for each table?