Monthly Archives: July 2009

Copy Row from one DataGridView to another

First, copy the schema of the table you want to copy, to the new table Dim dtTable As DataTable Dim dtTableNew As DataTable Dim oDataRow As DataRow   dtTable = Me.dgPayPalPayments.DataSource dtTableNew = dtTable.Clone dtTableNew.Clear() oDataRow = dtTable.Rows( Me.dgPayPalPayments.CurrentRow.Index) dtTableNew.ImportRow(oDataRow) … Continue reading

Posted in Computers and Internet | Leave a comment