• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 848
  • Last Modified:

VB.net drag text into a DataGridView cell


What VB.net code would I use to drop text into a specific DataGridView cell. Thanks
Murray Brown
Murray Brown
1 Solution
where are you dragging the text from and what do youwant to do with the text once it is dropped on the datagridview?

You need to handle the DragDrop event of the DataGridView and use the e.Data which contains the text you have dropped on the datagridview (you can then allocate it to the cell values
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thans. your response led me in the right direction
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now