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
Manav Pandya
NA
19.9k
2.3m
How to use => operator
Sep 28 2016 10:54 AM
I have facing one error as follow :
@model Demo.Models.college
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>demo</title>
</head>
<body>
<div>
<h1>
@if(Model.spi=>7) / Erorr = '=>' Invalid Expression
{
@Model.name
}
</h1>
</div>
</body>
</html>
Here what i want to do that :
if student get 7 and above code then do something
if student get 6 and above code then do something etc ....
so how i can check that if student have 7 or more grade condition ?
Attachment:
Strongly-Typed-View.zip
Reply
Answers (
4
)
how to display a form when clicking image in asp.net mvc
how to show image from sql database to webform in asp.net?