Click here to Skip to main content
15,903,203 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Frnds,

Am working on C#, sqlserver 2005.

I have a product table in DB, which is displayed in gridview.

So, in that gridview i have a column with name product code.

I have no. of product codes displaying in gridview from Database as

Product Codes
sony1xcy897 ----Show tool tip with IMAGE on mouse over

and also i have images for that particular code.

Please suggest me , how to use tool tip IMAGE on mouse Over in Gridview Cell.


Bind tool tip property of image with product code
Share this answer
Ranjith Reddy CSE 23-May-12 2:06am    
How ? please can u show me my Frnd, Am fresher in programming.
You can also do that,

you have different images for different prod_code right,
so you have to retrieve image path from DB and then bind tooltip property with image_prodCode as per given below
Bind tooltip at
lblprodcutcode.ToolTip = "productcode" +prodCode +imagepath + "";

Hope this will help you,
Share this answer
Ranjith Reddy CSE 23-May-12 2:38am    
Boss, I have Product Code and Images are in diferent tables, how can i do this ?
madhuri@mumbai 23-May-12 2:46am    
you can do this,just retreive a value from both table(with a common query) and then bind,
<pre lang="Javascript"><pre lang="java"><pre lang="java">
Share this answer

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