Muhammad Nadeem

Muhammad Nadeem

  • NA
  • 548
  • 66.2k

dynamically add item to dropdown list in asp.net

Oct 24 2016 1:07 AM
Friends When I add any item in dropdown list dynamically on clicking button. When I run my app again those items who I add that's not exists. I want my items permanently.
 
protected void btn_click(object sender, EventArgs e)
{
ddlist.Items.Add(new ListItem(textbox1, textbox1));
}
 

Answers (1)