ASP.NET
ASP.NET Web Applications (.NET 3.0)
ASP.NET Web Applications (.NET 3.0)
2007.08.09http://msdn2.microsoft.com/en-us/library/ms644563.aspx .NET Framework Developer's Guide ASP.NET Web Applications (.NET 3.0) ASP.NET is a unified Web platform that provides all the services necessary for you to build enterprise-class applications. ASP.NET is built on the .NET Framework, so all .NET Framework features are available to ASP.NET applications. Your applications can be written in any l..
ASP.NET 페이지 실행 주기
ASP.NET 페이지 실행 주기
2007.08.09기본적으로 웹 폼 이벤트 실행 순서는 Init > LoadViewState > Load > 서버콘트롤 이벤트 > PreRender > SaveViewState > Unload 순서로 실행된다. http://msdn2.microsoft.com/en-us/library/ms178473.aspx General Page Life-cycle Stages In general terms, the page goes through the stages outlined in the following table. In addition to the page life-cycle stages, there are application stages that occur before and after a request but are no..
Understanding ASP.NET View State
Understanding ASP.NET View State
2007.08.08ASP.NET Technical Articles Understanding ASP.NET View State Scott Mitchell 4GuysFromRolla.com May 2004 Applies to: Microsoft® ASP.NET Microsoft® Visual Studio® .NET Summary: Scott Mitchell looks at the benefits of and confusion around View State in Microsoft® ASP.NET. In addition, he shows you how you can interpret (and protect) the data stored in View State. (25 printed pages) Click here to dow..
FarPoint Spread를 이용한 ActiveX 페이지와 스크립트 제어
FarPoint Spread를 이용한 ActiveX 페이지와 스크립트 제어
2007.05.23먼저 FarPoint Technologies' Spread 6를 설치하셔야 이 예제를 해보실 수 있습니다.ActiveX 작성한 IDE 툴로는 VB 6.0을 이용하였습니다.먼저 VB 6.0의 새프로젝트를 열고 'ActiveX 사용자 정의 컨트롤' 프로젝트를 만듭니다. 프로젝트 이름과 컨트롤의 이름을 다음과 같이 작성한다.먼저 프로젝트명과 컨트롤의 속성에서 이름을 각각 AXSS와 SS로 지정하였다. VB 6.0의 도구모음에서 '마우스 우클릭'을 해서 '구성 요소'를 선택해 위와같이 Spread 6 'FarPoint Spread(OLEDB)' 를 추가해주자. VB 6.0의 도구모음에서 '마우스 우클릭'을 해서 '구성 요소'를 선택해 위와같이 Spread 6 'FarPoint Spread(..
ASP.NET Session StateServer
ASP.NET Session StateServer
2007.05.22Out-of-process Mode Included with the .NET SDK is a Windows® NT service: ASPState. This Windows service is what ASP.NET uses for out-of-process session state management. To use this state manager, you first need to start the service. To start the service, open a command prompt and type: Copy Codenet start aspstate What you'll see is: Figure 1. Starting the Windows NT service ASPState at the comm..
ASP.NET 페이지 캐쉬를 사용하지 않도록...
ASP.NET 페이지 캐쉬를 사용하지 않도록...
2007.05.18Response.Cache.SetExpires(DateTime.Now.AddSeconds(0)); Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetValidUntilExpires(true); Response.Cache.SetNoServerCaching(); 브라우져의 페이지가 자주 바뀌는 페이지는 브라우져 캐쉬를 무효화 해야할 경우가 생긴다. 이런 때에는 Page_Load 부분에 위와 같은 구문을 넣어보자..
거꾸로 시간 카운트 되는 자바스크립트
거꾸로 시간 카운트 되는 자바스크립트
2007.05.16var startExm = new Date(''); function CalcRemaining(obj) { var now = new Date(); var difference = parseInt(((startExm.getTime() - now.getTime()) / 1000) + 0.999); if (difference > 0) { var secs = difference % 60 difference = parseInt(difference / 60) var minutes = difference % 60 difference = parseInt(difference / 60) var hours = difference % 24 difference = parseInt(difference / 24) var days = ..
간단하게 만들었던 업로드 하는 컨트롤
간단하게 만들었던 업로드 하는 컨트롤
2007.05.16이미지를 등록해주세요 * 이미지는 명함, 반명함 사진으로 확장자는 gif, jpg, png 등으로만 올려주시기 바랍니다. 간단하게 만들었던 이미지 업로드 컨트롤 *.ascx 파일로 만들어두면 편하다. 참 급조로 만든거라 상당히 부실한 -_ -;;; 요래 코딩하면 안되는뎅;; 반성 반성~ 만약에 업로드하는 부분만 메소드로 뺀다면 ... /// /// 이미지를 업로드 한 후 저장된 파일 경로를 반환한다. /// /// 업로드 컨트롤 /// 과목코드 /// protected string ImageUpload(FileUpload FileUp, int SubCode) { string ret = ""; // 반환할 문자열 string upDir = ""; // 업로드할 파일 저장 위치 string fName = "..
ASP.NET 2.0 AJAX Extensions 1.0
ASP.NET 2.0 AJAX Extensions 1.0
2007.05.01제목과 같이 ASP.NET 2.0 기반으로 AJAX사용하는 ATLAS 확장 툴킷이 설치되는 파일입니다. 뭐 ajax.asp.net 가시면 받을 수 있지만 -ㅁ-; 자주 찾아가기도 귀찮고; 혹시 MS 사이트가 폭파되진 않을까(?) 하는 걱정에 - _-;; 올려놓습니다. 예제는 http://ajax.asp.net/ 사이트에서 참조하세요 ^ ^