VB.net drag text into a DataGridView cell

Hi

What VB.net code would I use to drop text into a specific DataGridView cell. Thanks
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
nepaluzConnect With a Mentor Commented:
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
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thans. your response led me in the right direction
0
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.

All Courses

From novice to tech pro — start learning today.