Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
hi..
i am showing values in gridview with images.. i want c# code for when the value should be null the image doesn't shown in gridview. have not null value then it the image can be dispays.. what can i do.. please help me..



thanks in advance...
Posted
Comments
Sergey Alexandrovich Kryukov 15-Oct-12 2:36am    
Why do you think they should? And how would you like to show them? Why?
--SA

1 solution

Before binding ur reultset from database to gridview jus check if the retrieved value is not null and then bind...
 
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