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

save to listbox

$
0
0
how can i save multiple controls to one listbox item?

Code:

Form1.ListBox1.Items.Add(TextBox1.Text)
Ok, that adds textbox1.text as an item, but what if I want to add textbox1,textbox2,textbox3.text to ONE item. that way when i press my load button, it will take the contents of textbox1,2,3 and put it back to each control.

also, how can i have it stay saved even when I close my app. when i close my app, all my listbox items disappear. -_-

Viewing all articles
Browse latest Browse all 27554

Trending Articles



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