Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
dynamically add item to dropdown list in asp.net
M CH
8y
1.1k
1
Reply
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));
}
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
c# Assembly.Load Not loading file (Windows 10)
Remove element from XML based on condition