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
Sri Ram
1.6k
173
99.9k
Inline code in MVC view
Jun 20 2017 9:40 PM
I have seen lot of developers write in-line code in view pages(.cshtml). It reminds the classic asp code style.
In the MVC view, if we have lot of if-else conditions how to avoid that?
Is it really a bad idea to have in-line codes in view?
Reply
Answers (
3
)
Logging registered users
Print each row in the DataTable to a separate page ASP.net