Visual Studio 2012 combobox and textbox -
friends, have combo box , text box. want when choose combobox, automatically textbox filled automatically autogenerate number in textbox, "an example: chose combobox letter" m ", want in textbox appear" m.0001 ", please support master, , ?? using visual studio 2012
you can set text shown in textbox using
textboxname.text = "your text"
and can read combobox text using
string s = combobox1.text;
well thing need listener. can use listener of combobox called "selectedindexchanged". fire whenever select element in combobox:
so have combine these 3 things. if tell me programming language use, give short code snippet.
Comments
Post a Comment