Sunday, September 1, 2013

visual studio Combo

Hi mo3tasem,


Welcome to the MSDN forum!


What's your problem? Please describe your problem in detail, and we will be able to provide quicker and better responses.


If you want to display many field in combobox by C#, you can try the below code.



public Form1()
{
InitializeComponent();
comboBox1.Items.Add("1qwe");
comboBox1.Items.Add("dsadde");
comboBox1.Items.Add("zhhh");
}





<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>

Thanks

MSDN Community Support



Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


No comments:

Post a Comment