Good community I hope you are very well. My question is the following: I have a datagridview in which I load certain information according to a search that I do, from that datagridview I can select 1, 2, 3 or all the rows if I want it. Now I want that by pressing a button I can store the row (s) that I select from the datagridview in an SQL table. What happens is that I do not know how to do to get only and only the values of the row (s) that I select and thus be able to save them in the database.
Summing up: how can you pass the value of 1 single row selected (or all that the user selects) from a datagridview to a table in SQL