Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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:
C#
dataGridView1.Rows.Add(2);

3) Run your app.
4) Press the button.
Do you see your image now?
 
Share this answer
 
Comments
[no name] 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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900