코드피아

고정 헤더 영역

글 제목

메뉴 레이어

코드피아

메뉴 리스트

  • HOME
  • TAG
  • MEDIA LOG
  • LOCATION LOG
  • GUEST BOOK
  • ADMIN
  • WRITE
  • 코드피아
    • Guitar 공연 영상
    • Gab's Studio
    • 부산아이러브기타
    • 김해미소산악회
    • 일상생활
    • 유용한글
    • 웃기는글
    • 영화
    • 미드
    • 미분류
      • Etc
    • C#
    • Java
    • Android
    • sesoleng
      • 원소 분석기
    • DataBase
      • Oracle
      • MS-SQL
    • 게임
      • ACEOnline

검색 레이어

코드피아

검색 영역

컨텐츠 검색

c#

  • MS WORD EXCEL 파일 문자열 대체하기 VS2010 C#

    2014.10.15 by xarfox

  • This example demonstrates the Math.Round() method in conjunction

    2011.08.01 by xarfox

  • 커서 Cursor 모양 번경하기

    2011.06.01 by xarfox

  • Read / Write BLOBs from / to Oracle

    2011.04.15 by xarfox

  • C# 리스트 아이템의 선택 항목 해제 방법

    2010.10.06 by xarfox

  • C# 리소스 문자열 등록 및 사용법

    2010.10.04 by xarfox

  • C# 타 프로그램간의 화면 전환 [ Form Message 전달 ]

    2010.09.07 by xarfox

  • C# TextBox에 숫자만 입력하기

    2010.09.07 by xarfox

MS WORD EXCEL 파일 문자열 대체하기 VS2010 C#

참조 추가=====================================using Microsoft.Office.Core;using Microsoft.Office.Interop;//using Excel;using System.Reflection;using Excel = Microsoft.Office.Interop.Excel;using Word = Microsoft.Office.Interop.Word;using System.Runtime.InteropServices;===================================== ==================워드 코드 내용======================== private void button3_Click(object sender, Eve..

C# 2014. 10. 15. 09:56

This example demonstrates the Math.Round() method in conjunction

// This example demonstrates the Math.Round() method in conjunction // with the MidpointRounding enumeration. using System; class Sample { public static void Main() { decimal result = 0.0m; decimal posValue = 3.45m; decimal negValue = -3.45m; // By default, round a positive and a negative value to the nearest even number. // The precision of the result is 1 decimal place. result = Math.Round(pos..

C# 2011. 8. 1. 16:17

커서 Cursor 모양 번경하기

매소가가 계산중이거나 데이터 로딩할때 쓰자 계산이 시작할때 this.Cursor = Cursors.WaitCursor; 계산이 종료할때 this.Cursor = Cursors.Default;

C# 2011. 6. 1. 13:32

Read / Write BLOBs from / to Oracle

Read / Write BLOBs from / to Oracle using C# .NET DataSet and DataReader More Information on installing the .Net Framework click here. Download full Visual Studio C# .NET Examples from this Article. Overview ODP.NET offers faster and reliable access to Oracle Database by using Oracle Native APIs. ODP.NET provides features to access any .NET application. The data access through ODP.NET can be don..

C# 2011. 4. 15. 17:01

C# 리스트 아이템의 선택 항목 해제 방법

사용시기 : 리스트 박스내의 각 항목을 클릭하면 항목이 선택되어지는게 기본 내용이다. 하지만 특별한 경우 선택되어진 항목을 해제하고 싶을때가 있다. 아래 소스는 그 방법론중 하나로서 리스트 박스내의 항목이 위치한 좌표가 아닐 경우 즉, 항목이 아닌 빈 여백 부분을 클릭하게 되었을 경우 선택를 해제 시키는 내용이다. private void listBox1_MouseDown(object sender, MouseEventArgs e) { if ((listBox1.ItemHeight * listBox1.Items.Count) < e.Y) { listBox1.SelectionMode = SelectionMode.None; } else { listBox1.SelectionMode = SelectionMode.One..

C# 2010. 10. 6. 10:03

C# 리소스 문자열 등록 및 사용법

[사용시기] 팀 프로젝트나 문자출력이 많다거나, 한글로 된 메시지들을 전부 다른언어로 변환해야 할때 유용하다. [사용법] String Mes = Properties.Resources.ERROR;

C# 2010. 10. 4. 17:29

C# 타 프로그램간의 화면 전환 [ Form Message 전달 ]

관련 : 2010/09/03 C# 에서 Window Message 전달 // FindWindow 사용을 위한 코드 using Microsoft.Win32; using System.Runtime.InteropServices; using System.Diagnostics; ~~~~~~~~~~~~~~~~~~~~~~~~~~~ //전역 변수 설정 bool isExecuting = false; // FindWindow 사용을 위한 코드 [DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern IntPtr FindWindow(string strClassName, string StrWindowName); [DllImport("user32.dll", ..

C# 2010. 9. 7. 16:00

C# TextBox에 숫자만 입력하기

KeyPress이벤트 메소드에 아래 구문을 넣으면 된다. if (!(char.IsDigit(e.KeyChar) || e.KeyChar == Convert.ToChar(Keys.Back))) { e.Handled = true; } 참으로 간단하다. ENDUSER는 바보라고 생각하고 처리해두자, 에러 터지면 본인만 욕듣는다.

C# 2010. 9. 7. 15:32

추가 정보

인기글

최신글

페이징

이전
1 2
다음
TISTORY
코드피아 © Magazine Lab
페이스북 트위터 인스타그램 유투브 메일

티스토리툴바