Results 1 to 2 of 2

Thread: [2008] Datagridview: Drag drop -make cell contents the cursor

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    515

    [2008] Datagridview: Drag drop -make cell contents the cursor

    datagridview1 is databound. datagridview2 is unbound.

    I drag rows from datagridview1 to datagridview2.

    When I drag and drop a row from 1 datagridview to another,
    how can I make the dragged cell contents as the cursor ?

    If I am dragging APPLES then the cursor should display APPLES until I drop it on datagridview2.

    Is this also possible when reordering rows in datagridview2 ?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: [2008] Datagridview: Drag drop -make cell contents the cursor

    I've never tried it myself but check this out. Note the fact that it says "Advanced" at the top.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width