I have one textbox,one submit button and one Dropdown list.
when i enter text and click sub button the data should add to dfropdown list dynamically.
How to do this.
I am new to this html and javascript so get me some simple code also.
Thanks in advance.
Loading

Posted Oct 18, 2013, 4:11 AM
try like below code
Ddl_Item.Items.Insert(0, new ListItem(TextBox.Text, string.Empty));