C
Chetana
Hi ,
I have sucessfully stored image into database and retrived also .I
have done it by using SQLParameter and then added that parameter to
sqlcommand .
But can i do it by using insert query .Means I have taken one image
property and assign it to byte array which has all the data of image .
I have used this
Suppose i have byte[] imagedata;
and propertimagedata is also of type image .
propertimagedata=(Image)imagedata;
and i want to save propertimagedata in insert query but above is
giving me error.
So if anyone has any idea reply me.
I have sucessfully stored image into database and retrived also .I
have done it by using SQLParameter and then added that parameter to
sqlcommand .
But can i do it by using insert query .Means I have taken one image
property and assign it to byte array which has all the data of image .
I have used this
Suppose i have byte[] imagedata;
and propertimagedata is also of type image .
propertimagedata=(Image)imagedata;
and i want to save propertimagedata in insert query but above is
giving me error.
So if anyone has any idea reply me.