Hi xxxd, thanks!
Yeah, got it done. And HitTest is quite useful it seems. This is the bit of code I used.
private void dgvSchedule_DragDrop(object sender, DragEventArgs e)
{
DataGridView.HitTestInfo htiSchedule = dgvSchedule.HitTest(e.X, e.Y);
dgvSchedule.Rows[htiSchedule.RowIndex].Cells[htiSchedule.ColumnIndex].Value = e.Data.GetData(DataFormats.Text);
}
Here, in DragDrop event, I create htiSchedule which contains all the information of where the mouse 'hit' the DGV.
So it contains the column and row the mouse touched, hence I solved my problem.
But, I now have some other problem, with selecting (not selecting, actually) a cell as described in the above post. Please do help with that if you can.
Cheers!