Computerscience/C# 썸네일형 리스트형 c# 훅크 사용법[스크랩] This article was previously published under Q318804 IN THIS TASK SUMMARY Set a Mouse Hook Global Hook Is Not Supported in .NET Framework REFERENCES SUMMARY This article describes how to set a hook that is specific to a thread and to a hook procedure by using the mouse hook as an example. You can use hooks to monitor certain types of events. You can associate these events with a specific thread o.. 더보기 DatagrideView에 쿼리 반환값 넣기[기초] /* 이전 생략 */ DataTable oDataTable = new DataTable(); DataColumn col1 = new DataColumn(); col1.ColumnName = "예약번호"; col1.DataType = System.Type.GetType("System.String"); DataColumn col2 = new DataColumn(); col2.ColumnName = "출항일자"; col2.DataType = System.Type.GetType("System.String"); DataColumn col3 = new DataColumn(); col3.ColumnName = "출항시간"; col3.DataType = System.Type.GetType("System.String").. 더보기 DB 연동하기 bool bcheckIsConnection = false; SqlConnection oCnn = new SqlConnection(); try { oCnn.ConnectionString = "server=서버IP(예:58.227.21.50);database=DB이름;user=sa;pwd=1234;; oCnn.Open(); bcheckIsConnection = true; } catch { MessageBox.Show("에러 메시지"); } if (bcheckIsConnection) { SqlCommand oCmm = new SqlCommand(); oCmm.CommandType = CommandType.Text; oCmm.Connection = oCnn; oCmm.CommandText = "쿼리문"; Sql.. 더보기 이전 1 2 다음