Groups > Asp .Net > ASP.NET XML Web Services > Re: Passing multiple images using asp.net web services




Passing multiple images using asp.net web services

Passing multiple images using asp.net web services
Tue, 1 Apr 2008 00:54:34 +0000
Hi,

 

Is there a way to pass multiple images in asp.net. I have seen postings on how
to pass one image. But i would want to pass multiple images.

 Option that I am thinking:

1. Array of images

2. Zipping and unzipping.

 

I hope you can shed lights.......array of images does not seem to work. Zipping
and unzipping file loses the filename? Am i correct? Algorithm for now will do.
code would be great.
Post Reply
Re: Passing multiple images using asp.net web services
Tue, 1 Apr 2008 02:30:43 +0000
My solution to this is to add images in web services as 

List<byte[]>

 

then the receiving web page will receive it as(for some reason it does not allow
it to be received as list<byte[]>).... byte[][]

 

then loop it like this

 foreach (byte[] ImageArrayElement in ImageArray)

{ 

 

It should work.......
Post Reply
about | contact