add items to your
dropdownlist
or
combobox
cmbname.Items.AddRange(new object[] {
"x",
"y",
"z",
"other"});
make a
textbox
beside
dropdownlist
and keep
textbox
invisible
textBox1.Visible = false;
use below code in
SelectedIndexChanged
event of
combobox
if (cmbname.Text == "other")
{
textBox1.Visible = true;
}