I have two problems with the BinaryImage Column.
The first: how to use the thing with LInq? Shall I extend my Ling2Sql generated class to convert the image column to a format the BinaryImage column can handle? If so - how?
By the way - the thing is around more than half a year - and can still not work with Linq directly?
Not sooo important - it works when I bind to a SQL Source.
The bigger problem. As I commented at this sample
this is far away from reality. BUT - I guess this has something to with my problem.
The sample forces the user always to upload an image. This may be OK on insert operations.
But how about edit operations? The user made a mistake (typo) needs to change the text - and after the update the image is gone...
Or think about "long term" data. The user uploads an image, adds text....
After a longer period of time he has some additional information - and wants to add some text.
Unfortunately he has no access to the uploaded image...
Bad luck :)
I guess my customer is a bit sad if I tell him:
We will add an instruction like this:
You can only edit textual content when you can provide an image to upload. :)
To be clear:
I have a (if possible with the BinaryImage Column) Linq Datasource with an image (later there will be 2 images) and some text / date / number fields.
The user must be able to:
a.) Add a record with (or without) an image
--is there a simple way to provide a "No image" display?
b.) Edit a record without uploading a new (the old) image
Thanks in advance