TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Y G
NA
236
30.2k
ASP.NET MVC Logical Question
Oct 28 2016 7:00 AM
Can anyone please provide me with the logic for:
1. I have a drop down list and I got its value from the data base i.e SQL server and I binded it to the drop down using ASP .net MVC
2. If the drop down value is value it is displaying 1 record(getting one record from database and showing) and same in case of drop down values for value=2, 2 records from database on so on......
3. For suppose the dropdown value is 2 and it is showing 2 records, then the end user want to add the records and he chose 6 as drop down value then 4records has to come i.e(2+4=6) and later if he chose 4 as drop down value then 2 records must be removed i.e(6-2=4)
Note: The 2 records that are obtained from the data base must not be removed , only adding extra records and removing them and then send them to the data base along with the 2 records
Reply
Answers (
2
)
next and previous pagination link in asp.net
How to redirect to a action method when a file not found