468,505 Members | 1,782 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

Rookie quesion

Ok, I'm new. Let's just put that out there. Using C#, I'm trying to do something that is probably pretty easy for all you out there.

I've created new form and created both a listbox, lstBox1, and a button, btnProblem1. I want to click that button have "Hello world" show in the listbox. How do I do this?

Thanks in advance,
Jan 25 '10 #1
4 1224
Jan 25 '10 #2
449 Expert 256MB
on button click event do this
Expand|Select|Wrap|Line Numbers
  1. lstBox1.Items.Add("Hello world !!!");
Jan 25 '10 #3
Perfect, thanks! I appreciate the help.
Jan 25 '10 #4
5,000 Expert 4TB
You don't need to bump your question by posting garbage.
Jan 25 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by William S. Perrin | last post: by
1 post views Thread by Matthew K Jensen | last post: by
3 posts views Thread by Dimitris \(GIS\) | last post: by
3 posts views Thread by Dst | last post: by
21 posts views Thread by AsheeG87 | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.