By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

C# ComboBox

P: n/a
Hi,
I am trying to use C# to design a ComboBox
I want to add 4 items under ComboBox
"name1"
"name2"
"name3"
"name4"

Can anyone tell me how can I do it?
thanks
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Incalcando,
I am trying to use C# to design a ComboBox
I want to add 4 items under ComboBox
"name1"
"name2"
"name3"
"name4"

Probably, however an answer on this question is better on its place, if you
want it in C#, in the newsgroup.

microsof.public.dotnet.languages.csharp

I hope this helps anyway

Cor
Nov 21 '05 #2

P: n/a
"incalcando via DotNetMonster.com" <u14275@uwe> schrieb:
I want to add 4 items under ComboBox
"name1"
"name2"
"name3"
"name4"

Can anyone tell me how can I do it?


\\\
Me.ComboBox1.Items.AddRange( _
New String() {"name1", "name2", "name3", "name4"} _
)
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.