Actually i am retriving an image from sql server. It's in
binary. i want to assign that image to a picturebox. now
for that i can create write that binary as a byte stream
in memory stream or i can create a temporary file by
using filestream. Sometimes u might now have writable
permisssion to a folder. in that case you can't create
that file by using filestream.
So, my point was to exactly know the scenerio where we
should use filestream or memorystream only. Right now for
my application i can use both. but, there may be cases
where i need to use any one of them. I wanted to know
those cases.