DataGridView Multiple Row Selection, Specific Column Data Get?Apr 23, 2012
So I have a datagridview being populated with data from a database.At this point a user may or may not selected (via mouse click / key press) one or more rows within the datagridview.I need to (upon selection) create a new dataset, datatable and add rows with the some data from the said datagridview.
For example, if a table had nothing but names, e.g.
Upon the user clicking, dragging a selection over Sean and Larry to add those names to a new dataset so I can pass it to another method for further processing.
Input array is longer than the number of columns in this table.It looks like I'm either missing a column declaration or adding the table to the set?