Click here to Skip to main content
14,424,734 members
Rate this:
Please Sign up or sign in to vote.
See more:
iam working on c# 4 solution
i have datagridview
i add datagridviewimagecolumn to datagrid
i give it fixed image from embded resource from design not from code
in design & in the run the default (x image) appear & my image doesn't appear
so what is the probelm
Posted
Comments
Abhinav S 9-Aug-11 4:34am
   
Post some code here. Someone may be able to help you.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Without your code it is difficult to tell, but...
Do you have any rows? If not, then no image can be displayed.
Try this:
1) Add a button to your form
2) In the button click code, add the following:
dataGridView1.Rows.Add(2);

3) Run your app.
4) Press the button.
Do you see your image now?
   
Comments
md_refay 9-Aug-11 5:37am
   
my datagridview allow add row
so i add row but i have the same problem the embded image doesn't appear

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100