0

Jet Ski Rental around Lake Conroe

Posted by admin on Jun 12, 2007 in Uncategorized

http://www.jff.net/houston/equipment.htm

 
0

C# – Creating a stream from a string

Posted by admin on Jun 12, 2007 in Uncategorized

Ok.  I’m a .net newbie (have been for the past few years.)  But now I’m going to get passed all that, buckle down and learn it inside out.

One of the challenges that I have is some things require a “stream”.  So, you have a value in a variable but you can’t use it because it isn’t a stream. 

Well, finally got the solution to the problem:

StringReader strReader = new StringReader(stringVal);

Simple enough.  StringReader is a stream, and it takes a string value.

I got this solution from: http://weblogs.asp.net/whaggard/archive/2004/09/23/233535.aspx

Copyright © 2010 GadgetNate All rights reserved. Theme by Laptop Geek.