본문 바로가기

전체 글603

What is the delegate in VB.NET I'm learning VB.NET at KH Education Institute at Seoul, Korea. Now, our teacher is teaching Form Controls but I already knew how to use those. So I made a program like TCP/IP networking, Windows Services in our class. I hope I'd like to teach student, and they will be a good programmer individually, if they want to be. Well, I remember when I learned how to use pointer In C, C++. Definition of p.. 2008. 7. 2.
ASP2.0 처음시작하기 ASP.NET 2.0을 VS2005 기반에서 처음으로 생성해 보았다. 조금은 생소한 부분이 있었지만 간단한 글 표시하는 것은 그리 어렵지 않았다. 그럼 시작합니다. Default.aspx 파일을 선택하고 그 위에 TextBox와 Button컨트롤을 위치시킨다. 위의 인사말보기 버튼을 더블클릭하여 아래와 같이 코딩해준다. TextBox1.Text="안녕하세요. ASP2.0 테스트 페이지입니다." 이렇게 한 후 컴파일하면 아래와 같은 결과 화면을 볼 수 있음. 이상으로 가장 기본적인 ASP.NET의 첫 프로그램을 만들어보았습니다. 2008. 6. 30.
사용자 세션 중단하기 다른 사용자가 긴급히 요구하는 자원을 한 사용자가 가지고 있을 때 또는 DBA에 의해서 데이터베이스를 종료시키고자 할 때 등이며 ALTER SYSTEM SQL문을 이용한다. 형식 : ALTER SYSTEM KILL SESSION 'integer1, integer2'; 여기서 integer1은 사용자의 SID, integer2는 종료시킬 사용자의 시리얼번호(Serial#)이다. 이러한 사용자 SID와 시리얼 번호는 V$SESSION 데이터사전 뷰에 있다. 확인해보기 위해서 SQL_PLUS를 실행시켜 LEE로 접속한다. 또 다른 SQLPULS를 실행시켜 cywon으로 접속한다. 또 다시 SQLPLUS를 실행시켜 system 계정으로 접속한다. SELECT SID, SERIAL#, USERNAME FROM V.. 2008. 6. 30.
MSSQL2005 서비스팩깔기 MSSQL 2005 서비스팩2 구하기 http://www.microsoft.com/downloads/details.aspx?displaylang=ko&FamilyID=d07219b2-1e23-49c8-8f0c-63fa18f26d3a 만일 위 링크 클릭후 다운로드가 안될 경우 윈도우 업데이트 화면으로 이동하여 SQL2005+서비스팩으로 조회하여 영문판이면 영문판을, 한글판이면 한글판을 다운로드하여 설치하면 된다. 전문가들의 기사들을 읽다 보면 보안을 철저히 해도 기본적으로 TCP/IP환경이나 웹환경이 취약해서 다 방어할 수는 없다고들 하지만 설치한 소프트웨어에 대한 업데이트가 있는지 확인하고 업데이트를 해주는 것은 가장 기본이 아닌가 한다. [참고] 서비스팩을 깔때는 DB의 경우 반드시 중요한 파일들을 백.. 2008. 6. 30.
how to delete, move directory Today, we learn how to delete a directory and move. when your program must delete a directory and the files the directory contains. In such cases, you just use the Directory class Delete method. To delete a directory and, optionally, the files and subdirectories the directory contains, invoke the Delete method with the directory name and the value True like Directory.Delete("DirectoryName", True.. 2008. 6. 30.
How to use Directory Class to make a new directory How to use Directory Class to make a new directory Public NotInheritable Class Directory Inherits System.IO The Directory class is a static class, which means you do not have to create an instance of a Directory class object in order to use the class methods. You just use the class. The following program, I used to directory class Exists method to determine if the specified directory exists. If .. 2008. 6. 30.