Ready to get started with anonymous questions today? It's easy! Learn more.
Dim hitTest As DataGridView.HitTestInfo hitTest = Me.DataGridView13.HitTest(e.X, e.Y) If hitTest.RowIndex <> -1 AndAlso hitTest.ColumnIndex <> -1 Then Dim cell As DataGridViewCell = Me.DataGridView13(hitTest.ColumnIndex, hitTest.RowIndex) cell.Value = e.Data.GetData(DataFormats.Text) End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.