hi ,

i am created the datagridview at run time.
i need to move (drag and drop) the datagrid view (only gridview) during the run time.
(task is : if i select the datagridview and placed in some where in same window form.
Ex: in our desktop we select the icon and drag and drop in some other place in the desktop)

i have no idea about this. so please share ur ideas.

hi boss.

thank you,
currently i am working with your (your given link) idea.
if any doubt, i will raise the question....

hi, boss

thank you , i worked with gridview..
its working fine..


its very easy one ....

thanks for ur help

:)

open a form when will press F2 key on DataGridViewComboBoxColumn
Try following codes:

Private Sub Datagridview1 _KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles dgv1.KeyDown
Dim other As New others
If e.KeyCode = Keys.F2 Then
If Datagridview1.CurrentCell.OwningColumn.Name = "DataGridViewComboBoxColumn Name" Then
other.MdiParent = MDIParent1
other.frmwhich = "purchase"
other.Show()
Me.Hide()
End If
End If
End Sub

This question has already been answered. Start a new discussion instead.