I have a datagridview in my C# form App.
How can I create a table directly from datagridview whenever a button is pressed.
Since the datagridview is editable I don't know how many rows of columns there will be to save in the database.
How can I save the whole datagridview to a database and retrieve them? Can I use a unique id as a table name and then use that??