Hi everybody,

I''m knew with VB.Net

I want to insert different value into one field value.
For example:
Value1: this
Value2: is
Value3: a
Value4: test

I want that Value5 become a string: This is a test. There must be space between the words. How can I achieve this?

Regards,
Striqo

Recommended Answers

All 2 Replies

Value5 = Value1 + " " + Value2 + " " + Value3 + " " + Value4

It works on TextBox I don't know if it will work on a variable

as this guy above explain you should use label or textbox to understand it

ex
textbox1.text = textbox2.text+" " + textbox3.text + " " ...

You are using " " to make a spaced.

If you want to work with numbers you should write val(textbox1.text)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.