마지막 달의 날자를 구하는 함수 입니다..

Function getTotalMonthDay( strMonth, strYear)
    Dim result = 0

    select case strMonth
    case "1" ,"3", "5", "7", "8", "10", "12"
        result = 31
    case "4", "6", "9", "11"
        result = 30
    case "2"
        if ((strYear mod 4) = 0 and (strYear mod 100) <> 0) or (strYear mod 400) = 0 then
            result = 29
        else
            result = 28
        end if
    end select

     getTotalMonthDay= result

End Function

반응형
ASP.Net 을 하실때

아래와 같은 오류가 났을때 처리법입니다..
Failed to execute request because the App-Domain could not be created. Error: 0x80131902


  1. With a command window, get to the latest version of .net under
  2. C:\Windows\Microsoft.Net\Framework\
  3. Now run the following command: "net stop w3svc" to stop web services.
  4. Then use "aspnet_regiis.exe -ua" to uninstall all instances of ASP.NET from IIS. (제거 합니다.)
  5. Follow with "aspnet_regiis.exe -i" to install ASP.NET into IIS. (다시 설치 합니다.)
  6. Now restart web services with "net start w3svc".


이렇게 해주시면 됩니다. ^^

반응형

사용자 삽입 이미지

깐도리

얼마전 회사에서 한분이 아이스크림을 사왔는데 그 사이에 깐도리 하나가 들어 있어

예전에 맛나게 먹었던 기억이 나 바로 집었습니다...

그리고 냠냠... 헉 그러나 생각과는 달리 맛이 없었습니다?

맛이 변한 것일까? 내가 변한 것일까?.... 어찌했든 어릴적 먹던 그맛이 아니였습니다...

그럼 간단히 평가 해보겠습니다.

가격 : ★☆☆☆☆ (별1개)

   - 내가 어릴적 기억하는 깐도리 가격은 50원, 지금 판매되고 있는 누가봐, 죠스바등은 그때 100원
     다른 제품은 5배 올랐는데 이녀석만 10배 올랐다!

맛 : ★★☆☆☆ (별2개)
   - 주관적으로 봤을때 제가 원하는 그런 맛이 아니네요 ㅠㅠ


읽어 주셔서 감사합니다..  ^^

반응형

+ Recent posts