본문 바로가기

Programming/Asp

[ASP] if 문

예제)

if test = "test" then

Response.write test

end if



asp에는 == 이없다. 그냥 = 쓰면 됨


예) if test == "test" (x)

    if test = "test" (o)



asp에는 != 이 없다. <> 다.


예) if test != "test" (x)

     if test <> "test" (o)


'Programming > Asp' 카테고리의 다른 글

[ASP] 홈페이지 방문자수 넣기  (0) 2014.05.29
[ASP] 게시판 내용에 따옴표(') 가 있을 때 출력이 안되는 경우.  (0) 2014.05.29
[ASP] ceil 함수 구현  (0) 2014.05.15
[ASP] DB delete  (0) 2014.05.15
[ASP] DB update  (0) 2014.05.15