코드피아

고정 헤더 영역

글 제목

메뉴 레이어

코드피아

메뉴 리스트

  • 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#

  • 비쥬얼 스튜디오 2013 nuget 검색 불가능시

    2023.08.24 by xarfox

  • C# 엑셀 프로그래밍 자료 링크

    2022.04.21 by xarfox

  • int 값을 byte[] 값으로 변경하기 BitArray 사용

    2014.10.31 by xarfox

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

    2014.10.15 by xarfox

  • Crystal Reports & Framework 4 (Could not load file or assembly crdb_adoplus.dll)

    2014.07.11 by xarfox

  • 시스템 날짜 변경하기

    2013.06.27 by xarfox

  • C# 시스템 정보 가져오기

    2013.06.27 by xarfox

  • Form과 UserControl를 지니고 있는 사이간의 이벤트 소통

    2013.01.08 by xarfox

비쥬얼 스튜디오 2013 nuget 검색 불가능시

TOOLS --> nuGet Package Manager --> Package Manager Console =======================================================================[Net.ServicePointManager]::SecurityProtocol=[Net.ServicePointManager]::SecurityProtocol-bOR [Net.SecurityProtocolType]::Tls12 > 엔터 재시도

C# 2023. 8. 24. 09:59

C# 엑셀 프로그래밍 자료 링크

https://tapito.tistory.com/582 C#에서 Microsoft Excel 파일 다루는 방법 C#에서 Microsoft Excel 파일 다루는 방법 본 포스팅에서는 Component Object Model(이하 COM) 객체를 로드하여 C# 프로그램에서 Microsoft Excel 형식의 데이터를 읽거나 기록하는 방법에 대해 설명합니다. 1단계. tapito.tistory.com 아주 잘 정리되어 있다.

C# 2022. 4. 21. 10:39

int 값을 byte[] 값으로 변경하기 BitArray 사용

public byte[] ConvertToBitValues(int value) { BitArray b = new BitArray(new int[] { value} ); bool[] bits = new bool[b.Count]; b.CopyTo(bits, 0); byte[] bitValues = bits.Select(bit => (byte)(bit ? 1 : 0)).ToArray(); return bitValues; } //네임 스페이스 확인using System.Collections; int 는 32비트 정수라서 bitValues .Length = 32 이다.

C# 2014. 10. 31. 16:13

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

Crystal Reports & Framework 4 (Could not load file or assembly crdb_adoplus.dll)

If you upgrade your project to .NET Framework 4 or for any reason you get a mysterious error like the one below:“Could not load file or assembly ‘file:///C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll’ or one of its dependencies. The system cannot find the file specified.”Try inserting the code below at your app.config or web.config ..

C# 2014. 7. 11. 15:54

시스템 날짜 변경하기

using System; using System.Runtime.InteropServices; namespace SystemDateTime { class Class1 { /// This structure represents a date and time. public struct SYSTEMTIME { public ushort wYear,wMonth,wDayOfWeek,wDay, wHour,wMinute,wSecond,wMilliseconds; } /// /// This function retrieves the current system date /// and time expressed in Coordinated Universal Time (UTC). /// /// [out] Pointer to a SYST..

C# 2013. 6. 27. 14:55

C# 시스템 정보 가져오기

현재 시스템에 로그인된 사용자의 이름 가져오기 Environment.UserName; 시스템의 도메인 명을가져오기 Environment.UserDomainName; 시스템의 디렉토리 가져오기 Environment.SystemDirectory; 현재 운영체제의 버전 가져오기 Environment.OSVersion.VersionString; 로컬 시스템의 NetBIOS 이름 가져오기 Environment.MachineName; 현재 작업 디렉토리 가져오기 Environment.CurrentDirectory; 현재 운영체제의 플랫폼 가져오기 Environment.OSVersion.Platform.ToString(); 현재 운영체제의 프로세서 갯수 가져오기 Environment.ProcessorCount; 시스..

C# 2013. 6. 27. 12:18

Form과 UserControl를 지니고 있는 사이간의 이벤트 소통

유저 컨트롤(UC)에서 유저 컨트롤을 포함하고 있는 폼(frmMain)의 메소스 실행하는 방법 public delegate void ClickMe(); // 1. 메인폼의 상단에 public으로 선언하여 모두가 접근 가능 public partial class FrmMain : Form { ~~~~~ 유저컨트롤 (UC) 내에서 public partial class UC_DATA : UserControl { public event ClickMe CustomControlClickMe; public UC_DATA() { InitializeComponent(); } private void lbl_Data_Click(object sender, EventArgs e) { if (CustomControlClickMe ..

C# 2013. 1. 8. 15:02

추가 정보

인기글

최신글

페이징

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

티스토리툴바