p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   XML binary file to ADO stream object (http://p2p.wrox.com/showthread.php?t=39944)

clk1022 March 16th, 2006 10:31 PM

XML binary file to ADO stream object
 
What I am trying to do is that I will store an email template on the server-side, which may contain attachments(any types), when a user wants to send an email, the server will return a XML file contains all of the information about this email. After parsing the XML, I will send an email using "COD.Message". I have resolved all of the problem besides the attachment.

How can I covert a binary file from the XML file (which is string) to an ADO Stream object? I have tried Stream.Write(content)/Stream.WriteText(content), but none of these are working. Does anyone have any idea how to do that?



All times are GMT -4. The time now is 10:56 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.