Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I have a datagridview. I am storing some images in datagridview and using mousehover event. I want that when i move mouse over the praticular datagridview cell the current cell image will display in picturebox.
I am using following code for getting row index

VB
Dim hit As DataGridView.HitTestInfo = _
           DataGridView1.HitTest(e.X, e.Y)
       textBox1.Text = hit.ToString()


Please help.
Posted
Updated 3-Jul-10 0:10am
v3
Comments
William Winner 6-Jul-10 17:33pm    
Reason for my vote of 2
there's not a real question here. What are you wanting to know?

I can guess at what you're wanting, but you need to show that you've tried some things and gotten stuck. Or ask for direction.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900