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
Marius Vasile
590
1.9k
146.3k
asp.net razor check if a list contain a string
Dec 2 2020 1:22 AM
I have a model
public
class
IsoRemoval
{
[Key]
public
int
IdIR {
get
;
set
; }
public
DateTime IsoRemDate {
get
;
set
; }
public
string
Equipment {
get
;
set
; }
public
string
IsoRemMethod {
get
;
set
; }
public
int
RemovedBy {
get
;
set
; }
public
int
VerifiedBy {
get
;
set
; }
}
string Equipment may contain "Motor", "Pump" or "Compressor"
How do I verify in the saved data if under Equipment there is any "Compressor"?
Reply
Answers (
8
)
Asp.Net Core Razor display an error message from if...else
How to make user authorized access in asp.net mvc 5?