C# ComboBox

  • Thread starter Thread starter incalcando via DotNetMonster.com
  • Start date Start date
I

incalcando via DotNetMonster.com

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
 
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
 
incalcando via DotNetMonster.com said:
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"} _
)
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top