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

Spaces in Combobox

$
0
0
Hello, I have written this code:
Code:

For Each CPop In Combpopust.Popusts
            ComboBox1.Items.Add("(" & CPop.ID_Popusta & ")" & CPop.Vrednost_popusta & "," & CPop.Naziv_popusta)
Next

Problem is, that it displys text from my database with spaces like this:
Attachment 98481

What is wrong in code above, Why is not display without so many spaces, I whant to disply like this: (1) 10, Thing1

Thanks to all.
Attached Images
 

Viewing all articles
Browse latest Browse all 27175

Trending Articles