Hi,
I'm quite new with c# and are trying to set up a webpage that will show products with images. I will store the image inside the database.I've been follow some example from a book, and have put in this piece of code:
ProductImageSelectByIDData selectproductimage = new ProductImageSelectByIDData();
selectproductimage.Product = this.Product;
Product.ImageData = (byte[ ])selectproductimage.Get();
ImageStream = new MemoryStream((byte [ ])Product.ImageData);
What I've underline is the part that goes wrong. I get an error message when trying to compile the soultion in vs2005."Cannot convert type byte[] to byte"
someone that have encounter the same issues?
/Anfe
Enter your message below
Sign in or Join us (it's free).