ASP.NET - how to pass image field value null in table valued parameter in c#.net

Asked By Srinu on 01-Jul-13 02:29 AM
i have table value parameter with one column data type is image,when i do not have image i am passing "new Byte[0]" to image filed  in table value parameter,but its giving error "Type of value has a mismatch with column typeCouldn't store <System.Byte[]> in ProductImage Column.  Expected type is Image".
Robbe Morris replied to Srinu on 01-Jul-13 10:54 AM
DBNull.value

A new empty byte array is not null