Private Sub DGVCustDetails_CellDoubleClick(sender As Object, e As DataGridViewCellEventArgs) Handles DGVCustDetails.CellDoubleClick With FrmSale .txtCustID.Text = DGVCustDetails.CurrentRow.Cells(0).Value.ToString() .txtCustFirstName.Text = DGVCustDetails.CurrentRow.Cells(1).Value.ToString .txtCustSurname.Text = DGVCustDetails.CurrentRow.Cells(2).Value.ToString .txtCustContactNo.Text = DGVCustDetails.CurrentRow.Cells(3).Value.ToString End With Me.Close() End Sub
datagridview_cellcontentclick
datagridview_celldoubleclick
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)