본문 바로가기
반응형

닷넷30

[개발/asp.net] UserControl 템플릿을 이용한 공통 UI 렌더링 출처: http://www.taeyo.pe.kr/lecture/NET/UcTemplate.asp강좌 최초 작성일 : 2006년 11월 14일 강좌 최종 수정일 : 2006년 11월 15일 강좌 읽음 수 : 4359 회 작성자 : Taeyo(김 태영) 편집자 : Taeyo(김 태영) 강좌 제목 : UserControl 템플릿을 이용한 공통 UI 렌더링 강좌 전 태오의 잡담>이제 2006년의 크리스마스도 한달 정도밖에 남지 않았네요. 여러분들은 크리스마스에 무엇을 하실 생각이신가요? 무엇을 계획하던 한 해를 잘 정리하면서~ 즐겁게 보내시기 바랍니다.공통적으로 자주 사용하는 UI 영역을 필요로 할 경우 여러분은 주로 어떻게 작업을 해 오셨나요? 대부분의 경우는 그 영역을 User Control이나 Custom.. 2015. 6. 1.
[개발/asp] 스크립트 암호화 프로그램과 설명서 스크립트 암호화 프로그램 입니다. aspx 소스입니다.. 2015. 6. 1.
[개발/C#/ASP.NET] 하드웨어 유일키 생성 하드웨어 유일키 생성 using System; using System.Management; using System.Security.Cryptography; using System.Security; using System.Collections; using System.Text; namespace Security { /// /// Generates a 16 byte Unique Identification code of a computer /// Example: 4876-8DB5-EE85-69D3-FE52-8CF7-395D-2EA9 /// public class FingerPrint { private static string fingerPrint = string.Empty; public static strin.. 2015. 3. 3.
[개발/ASP.NET/C#] 하드웨어 유일키 얻기 2 Contacting a Registration Server to obtain a unique registration key based on unique machine ID Introduction Sometimes in the industry, it is required to collect some unique machine information and send it to a server for the purpose of creating a unique registration key based on the hardware information. This is required in the case when the software requires a per PC registration. Thus we can .. 2015. 3. 3.
[개발/asp.net] 금액, 숫자를 문자로 바꾸기 쌈꼬쪼려 소백촌닭 금액, 숫자를 문자로 바꾸기 금액 형식의 숫자를 한글로 바꾸어 반환하는 메서드입니다. 문자열 형식의 숫자를 인수로 넘기는 경우에는 콤마(,)는 허용, 그 외 숫자형식이 아닌 문자는 에러메시지로 처리합니다. 소숫점이하의 수는 소숫점에서 반올림 하여 계산합니다. public string NumberToHangul( double number) { return NumberToHangul( number.ToString() ); } public string NumberToHangul( string strNumber) { // 콤마(,)제거 strNumber = strNumber.Replace(",",""); // 문자열이 숫자형식인지 체크 for( int i=0; i=0 ) { double tem.. 2010. 12. 10.
[개발/asp.net] 사용자의 인터넷익스플로러 창 모두 닫기 쌈꼬쪼려 소백촌닭 사용자의 인터넷익스플로러 창 모두 닫기 //네임스페이스 선언 using System.Diagnostics; //현재 사용자 컴퓨터에 열려 있는 익스플로러의 창을 모두 닫는다. public static void KillExplorer() { Process[] procs = Process.GetProcessesByName("IEXPLORE"); for(int i=0; i< procs.Length; i++) procs[i].Kill(); } 현재 실행중인 프로세스를 죽이는 방법으로 iexplore를 종료시킵니다. 2010. 12. 10.
반응형