Solved

VB.net Move a DataGridView with code

Posted on 2014-09-09
3
173 Views
Last Modified: 2014-09-11
Hi

What VB.net code would I use to allow the user to move a DataGridView around a form.
The DataGridView will be added dynamically with code
0
Comment
Question by:murbro
3 Comments
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 250 total points
Comment Utility
You use Drag and Drop

I suggest that you read the official documentation on the subject: Drag-and-Drop Functionality in Windows Forms to get an overall view of the mechanism.

Follow the link to the DoDragDrop at the beginning of the page and you will have a complete example.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 250 total points
Comment Utility
0
 

Author Closing Comment

by:murbro
Comment Utility
Thanks for the help
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now