Storing a stream in db...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a stream data of type System.IO.Stream. I want to strore in in db. Is
this possible? If yes, how can i do that?

Thanx
 
Basulasz,

Depends completely what you want to store if the stream is not a string than
most usable is a field from the type Blog . To optimize that you can even
use Zipping between that.

I hope this helps,

Cor
 
I have a special mail message object. It has a body part, to part, from part
etc. Its body part is in type of IO stream. I want to store this in db for
later usage. So it is not a string , it's MailPart.BodyStream (special to my
object). It is not serializable. Is there a way to store this stream in db?
 
Back
Top