허당 레몬도리
여러 컨트롤을 배열형식으로 값 넣기
가. 언어유형 2009. 2. 17. 15:19

어떤 경우라고 하기 모호하지만 나의 입장의 경우 Textbox_1 ~ Textbox_5까지 값을 넣어야할 때 아래와 같이 사용하면 된다. For index As Integer = 1 To 5 Me.Controls("Textbox_" & index).Text = index Next for (int i = 1; i < 5; i++) { this.Controls["Textbox" + i].Text = i; } 간단한 팁이다 ^^;

고스트 ISO

http://download.netmarble.net/pcbang/ghost8-2.iso

Windows Applcation Tip
가. 언어유형 2009. 1. 30. 12:04

Windows Application .NET Framework1. How to get the path for "My Documents" and other system folders? 2. How to get the path to my running EXE? 3. How to determine which operating system is running? 4. How to get a file's name from the complete path string? 5. How to get a file's extension from the complete path string? 6. What is difference beween VB.NET and C#.NET? 7. How to find whether your ..

Excel Export
가. 언어유형/C# 2009. 1. 23. 14:41

Microsoft.Office.Interop.Excel.Application App; Microsoft.Office.Interop.Excel.Worksheet Worksheet; Microsoft.Office.Interop.Excel.Workbook Wbook; App = new Microsoft.Office.Interop.Excel.Application(); App.Visible = true; Wbook = (Microsoft.Office.Interop.Excel.Workbook)(App.Workbooks.Add(System.Reflection.Missing.Value)); Worksheet = Wbook.ActiveSheet; for (int i = 0; i < dataGridView.RowCount..

데이터 소스에 BLOB 값 쓰기
가. 언어유형/C# 2009. 1. 22. 18:30

public static void AddEmployee( string lastName, string firstName, string title, DateTime hireDate, int reportsTo, string photoFilePath, string connectionString) { byte[] photo = GetPhoto(photoFilePath); using (SqlConnection connection = new SqlConnection( connectionString)) SqlCommand command = new SqlCommand( "INSERT INTO Employees (LastName, FirstName, " + "Title, HireDate, ReportsTo, Photo) ..

article thumbnail
공유 폴더 User 바꾸기
나. 설치 및 설정/Other 2008. 12. 15. 17:49

net use 를 이용하면 한번 User로 로그인 했던 폴더의 User를 바꿀수가 있다. 다음과 같이 사용하면 된다. ex) 다음과 같이 네개의 폴더 중 system, IPC$를 해제 해보도록 하자. 위 그림과 같이 입력하면 공유가 해제 된 것을 볼 수 있다. 다시 net use를 사용하면 두개의 폴더가 사라진 것을 볼수 있다. 이와 같이 두개의 폴더를 삭제한 후 다시 로그인하면 새로운 User로 로그인 할 수 있다. 그리고 아래와 같이 직접 폴더에 User를 바꿀수도 있다. § 단, 한글 폴더명은 삭제가 되지 않는다. ( 테스트 해본 결과 한글 폴더명은 삭제가 되지 않았다.) 영문 폴더명으로 사용하자 ~!!

Visual Studio SVN 무료 플러그인
가. 언어유형 2008. 12. 15. 11:21

프로젝트 관리 하기 위해서 설치했던 SVN이 클라이언트가 유료여서 찾아보다가 발견한 AnkhSVN. 기본 기능은 비슷한거 같고 사용할때도 편한거 같다 . What's New Download AnkhSVN 2.0 (2.0.5250) (VS 2005+) Download AnkhSVN 1.0.4 (VS 2002 and VS 2003) Download daily builds. AnkhSVN is a Subversion SourceControl Provider for Visual Studio. The software allows you to perform the most common version control operations directly from inside the Microsoft Visual Stud..