Click here to Skip to main content
15,903,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I want to get an idea for my requirement:
I have a asp.net web page to enter book details where user select book author from dropdownlist. There is a author master page from where we enter all the author names.But suppose there is a new author that is not in the dropdownlist then i want to give the user option to enter the new author name from the book entry page and that author gets inserted in database and added to dropdown automatically so that user can select that author. Please suggest me how to get this done.

What I have tried:

I think we can use web API for this..But no idea how to do this.
Posted
Updated 17-Nov-18 11:12am

1 solution

See my suggested solution here: How to add data to dropdownlist at runtime and rebind in dropdownlist automatically[^]

Please do not re-post the same question so you can focus on one thread.
 
Share this answer
 
Comments
xpertzgurtej 19-Nov-18 6:36am    
Sorry for reposting..i thought my question title was bit confusing and no one answered for long time so i posted another question with clear title..
Vincent Maverick Durano 21-Nov-18 16:06pm    
No problem. Just close this thread then.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900