G
Guest
hey all,
Byte[] imageData =
(Byte[])(((DataRowView)fvEmployeeMaster.DataItem).Row.ItemArray.GetValue(21));
If the record coming in is null i get the following error message:
Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'.
is there a shorthand or what conditional statement do i need to get around
this?
thanks,
rodchar
Byte[] imageData =
(Byte[])(((DataRowView)fvEmployeeMaster.DataItem).Row.ItemArray.GetValue(21));
If the record coming in is null i get the following error message:
Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'.
is there a shorthand or what conditional statement do i need to get around
this?
thanks,
rodchar