tags:

views:

1553

answers:

2

Hi,

I can add an item and its value to a combobox with following code.

combobox1.Items.add(new Item("text","value"));

how do I add a value to a text in string collection editor? I can only add text in string collection editor.

+3  A: 

I'm afraid you can only specify the text using the Visual Studio built-in editor.

Mehrdad Afshari
A: 

if combobox=="azadeh"&& textbox=="0000000" messagebox.show("welcom"); else messagebox.show("good bay");

azadeh