Click here to Skip to main content
15,905,508 members

Response to: How can i fix that ?

Latest Revision
I suggest checking for the possibility of gdCompany.CurrentRow.Cells(15).Value being null before you try to cast it to a byte array and try to populate the pictureBox.

Update:

C#
if(gdCompany.CurrentRow.Cells(15).Value != null)
{
//your code here..
}
Posted 5-Nov-12 22:16pm by jim lahey.
Tags: , , , ,