SyntaxFix
Write A Post
Hire A Developer
Questions
Try following code;
DropDownList1.Items.Add(new ListItem(txt_box1.Text));