글

ADO 데이터 타입 비교 테이블

ADO DataType Enum ADO DataType Enum Value .NET Framework Visual Basic 6.0 Access SQL Server Oracle adBigInt 20 Int64 SqlInt64 BigInt Variant BigInt adBinary 128 Byte[] SqlBinary Binary Variant Binary TimeStamp Raw adBoolean 11 Boolean SqlBoolean Boolean Boolean YesNo Bit adBSTR 8 String BSTR adChapter 136 (DataReader) adChar 129 String SqlString Char String Char Char adCurrency 6 Decimal SqlMoney Currency Currency Currency Money SmallMoney adDate 7 DateTime Date Date DateTime adDBDate 133 DateTime DBDate adDBFileTime 137 DBFileTime adDBTime 134 DateTime DBTime adDBTimeStamp 135 DateTime SqlDateTime DBTimeStamp Date DateTime Datetime SmallDateTime Date adDecimal 14...

인터넷익스플러워(IE) MIME 타입 모음

text/richtext text/html audio/x-aiff audio/basic audio/wav image/gif image/jpeg image/pjpeg image/tiff image/x-png image/x-xbitmap image/bmp image/x-jg image/x-emf image/x-wmf video/avi video/mpeg application/postscript application/base64 application/macbinhex40 application/pdf application/x-compressed application/x-zip-compressed application/x-gzip-compressed application/java application/x-msdownload

원도우 계열 특정 포트를 사용하는 프로세스 알아내기

특정포트에 어떤 프로세스가 쓰는지 알고 싶을때는 cmd창으로 간단히 알수있다. netstat -ano 로 PID 알아냄 tasklist /SVC /FI "PID eq [찾아낸PID]" ps : 더 간단한 방법 netstat -ano |findstr :찾으려는 포트

지정한 자리숫자만큼 앞에 0을 붙여 반환

'/** '* 지정한 자리숫자만큼 앞에 0을 붙여 반환 '* '* '* @param intParam : 검사할 숫자 '* @param intLimit : 원하는 숫자길이 '* '* @return GetZeroNumber : 지정길이만큼 숫자앞에 0 붙여서반환 '*/ Function GetZeroNumber ( ByVal intParam, ByVal intLimit) Dim i, strResult For i = 0 To intLimit strResult = strResult &amp ; "0" Next GetZeroNumber = Right(strResult &amp ; intParam, intLimit) End Function Response.Write GetZeroNumber( 5 , 3 ) ' 005 Response.Write GetZeroNumber( 70 , 5 ) ' 00070 Response.Write GetZeroNumber( 900 , 4 ) ' 0900

asp에서 ceil함수(소수점 이하에 값이 있으면 무조건 올림)

''' ''' 소수점 아래 올림 : 소수점 값이 존재하면 무조건 올림 페이징에 유용(php ceil함수가 같음) ''' ''' 소수점 계산할 값 ''' 결과값 Function Ceil ( ByVal intParam) Ceil = -(Int(-(intParam))) End Function Response.Write Ceil( 4.3 ) ' 5 Response.Write Ceil( 9.999 ) ' 10 Response.Write Ceil(- 3.14 ) ' -3 Response.Write Int( 33.9 ) '33 Response.Write CInt ( 0.5 ) '0 Response.Write CInt ( 3.5 ) '4 Response.Write CInt ( 3.6 ) '4