Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inline XSD
Message
From
09/01/2003 10:50:53
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00736764
Message ID:
00739808
Views:
15
Hi Rick,

Thanks, I didn't know that. I guess I don't quite have my head around streams either ...

~~Bonnie


>Actually you can use StringWriter (and XMLWriter etc) for anything that uses a stream. Anything that ends in Reader and Writer generally uses streams in .Net and can be used to accept or receive stream in/output
>
>I still have a hard time with streams in concept - it's such a stretch sometimes - I still think more in terms of strings. But in many ways streams are way more flexible precisely because of the many different output options using the stream interfaces...
>
>+++ Rick ---
>
>>Cathi,
>>
>>Well, no wonder I couldn't figure it out ... the docs for WriteXML mention absolutely nothing about being able to output a string via StringWriter. And Intellisense for WriteXML doesn't have it listed in the overloads either. Of course, I never actually tried it (until just now). I figured if it wasn't in Intellisense then that parameter type didn't exist. Silly me!! <g>
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform