Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27379

VS 2010 Multiline String

$
0
0
I have two multi-line textboxes

productIdTextbox and productNametextbox

The problem is that when im trying to print the text it returns the following

Dim thestring as new string = productIdTextbox.text & vbTab & productNametextbox.text

PHP Code:

1
2
3
apple
orange
pear 

I want to obviously have it in this format:
PHP Code:

1       apple
2       orange
3       pear 

Now i know why this happens, i just cant figure out a way around it.

Viewing all articles
Browse latest Browse all 27379

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>