title: How to change mouse cursor during drag and drop?
body: <p><strong>Background:</strong> I have a C# winforms application. I am dragging information from one datagridview to another. For my drag over event on the destination grid, I have the following code:</p>
  
  <pre><code>private void grid_DragOver(object sender, DragEventArgs e)
  {
        if(e.Data.GetDataPresent(typeof(SelectedRecordsCollection)))
        {
            e.Effect = DragDropEffects.Move; 
        }
  }
  </code></pre>
  
  <p>I want to limit the drop to only be allowed when the mouse is hovered over particular rows (say, rows with an odd index number). I currently limit what I actually add to the destination grid in the dragdrop event. However, because of the above code, my cursor changes to a Move icon as soon as the mouse hovers anywhere on the destination control.</p>
  
  <p><strong>Question:</strong> How do I make it so that the cursor is a "Cursor.No" icon everywhere on the destination grid, except set it to the Move icon for when the mouse is over a row with an odd index?</p>
  
  <p>Thank you. </p>
  
  <p><strong>Edit:</strong> Aseem's solution ended up working for me.</p>