Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using image as a data type in my table but every time i try to put in the names of my images i get this "The value in this cell was not recognized as valid.
.Net Framework Data Type:Byte[]
Error message: You cannot use the result pane to set this field data to values other than NULL.
Type a value appropriate for the data type or press ESC to cancel the change.
Posted

1 solution

You can't type a name into a byte array based field - that is a string, which doesn't have a direct (default) conversion.
If you are trying to store the path to an image in your DB, then your want a NVARCHAR field rather than IMAGE - and you will have to look to your display table to work out how to display the actual image.

We can't tell you that bit - we have no idea what environment you are working!
 
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