OK, I am now getting one row saved to my datatable. Is there something else I should be doing for the DGV. It is getting the last record selected.
Here is where I save to DataTable
Here is where I am loading a DGV on another form to show me the resultsCode:Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click intGrpSize = n Create_ClientTable() For Each row As DataGridViewRow In Me.dgvClients.SelectedRows() _ClientTable.Rows.Add(row.Cells("ClientID").Value, row.Cells("Name").Value, row.Cells("Program").Value) Next frmChildWindow.CreateSession() Me.Close() End Sub
Code:Private Sub Load_DGV() dataGridView1.DataSource = _ClientTable End Sub




Reply With Quote