View Full Version : Array to String
DigitalSig
11-09-03, 05:21 AM
I have a TextBox with Array displayed in it (few lines of information).
Now I need to take each separate line of my info from this TextBox and make each separate line as a string, so I can insert it into SQL Database.
How can I do that?
I have a TextBox with Array displayed in it (few lines of information).
Now I need to take each separate line of my info from this TextBox and make each separate line as a string, so I can insert it into SQL Database.
How can I do that?
Why do they need to be seperate lines? Different fields in the DB? You can insert it as one string and it will preserve the breaks.
try "ArrrayText.ToString", where ArrayText is your...array text...lol
It's worked with me for changing IO.Streams into Strings, so it should work with that. Or just do what was said above, i just like to use the ToString function.
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.