I have facing one error as follow :
@model Demo.Models.college
@{
Layout = null;
}
@if(Model.spi=>7) / Erorr = '=>' Invalid Expression
{
@Model.name
}
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 ?


rickyvalkier dddd9 reputationPosted Sep 28, 2016, 7:33 AM EDT
Manav PandyaRank #166 · 14.3K reputationPosted Sep 28, 2016, 8:25 AM EDT
Ehsan SajjadRank #512 · 4.8K reputationPosted Sep 28, 2016, 12:58 PM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Sep 28, 2016, 7:06 PM EDT