Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
dynamically add item to dropdown list in asp.net
M CH
Oct 24 2016 1:07 AM
1k
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));
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
c# Assembly.Load Not loading file (Windows 10)
Remove element from XML based on condition