DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
if statement in razor using "?" and ":"
<option value="S" @(strAttributeFixType == "S" ? "selected" : "")>S</option>
Source by forums.asp.net #
PREVIOUS
NEXT
Tagged:
#statement
#razor
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit