I have a web service that is accessed by a windows forms application and receives updates like facility name, address, image etc. Everything works fine except the image data is not being passed to the windows app. I am saving the images in database on both sides, so when I pull it from the server I use the following codeif (!reader.IsDBNull(floorPlanOrdinal))
facility.FloorPlan = (byte)reader["FloorPlan"];
I can see the facility.FloorPlan Dimentions as 103840 when I debug this method which means that the data is pulled from the database fine.
On the forms side though the dimentions become 0, all other values pass fine except this. Here is the facility property in the web service on server side.
View Complete Post