Window Programming/C# 썸네일형 리스트형 특정 사이트 로그인해서 문서 가져오기 //로그인에 필요한 데이터... string postData = "a=124&b=344"; HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create("데이터를 전송할 URI"); //인코딩은 서버에서 처리하고 있는 인코딩으로 지정해주세요. //대부분의 사이트는 Defalt 혹은 euc-kr로 하면 되는 것 같습니다. byte[] byteArray = Encoding.GetEncoding("ks_c_5601").GetBytes(postData); httpWebRequest.Method = "POST"; httpWebRequest.ContentType = "application/x-www-form-urlencoded"; httpWebRequest... 더보기 C# WebRequest 로그인 using System; using System.Text; using System.Net; using System.IO; namespace HttpWebRequestEx { class Program { static CookieContainer cookie = new CookieContainer(); // 로그인이 성공하였을때의 세션쿠키값을 가지고 있을 컨테이너 static void Main(string[] args) { string id="test"; // 로그인 아이디 string pw="test"; // 로그인 패스워드 string sendData = "id=" + id + "&pw=" + pw; // sendData의 부분은 웹사이트마다 요청값이 다릅니다. 때문에 피들러 같은 툴을 이용해서 웹페이지.. 더보기 DirectShow Lib .net v2.0 Visual C#에서 DirectShow를 이용하기 위한 파일. 래퍼된 DLL. 압축을 풀고 DirectShowLib-2005.dll 파일을 참조추가해준 다음에 쓰면 된다. 더보기 C#에서 Direct3D 다루기 자전거 매직휠 님 네이버 블로그 강좌가 괜찮은 것 같다 C# Direct3D 1강 : http://blog.naver.com/tramper2/100060746510 이후 강좌는 주욱 따라가면 됨. 다른 카테고리로도 괜찮은 글들 꽤 있다. 더보기 MySQL connector for .NET - version 6.0.3 MySQL connector for .NET - version 6.0.3입니다. MySQL homepage에서 받아옴. Installer 버전. 더보기 C#으로 웹페이지 자동로그인 구현 출처 : http://onlyhuman.net/blog/174?category=24 C# 공부중 연습삼아 작성. 1. C# WindowsFormApplication 만들고 2. 참조에 Microsoft.mshtml 추가 3. 폼 코드보기에서 아래 내용으로 변경 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using mshtml; namespace WindowsFormsApplication1 { public partial cl.. 더보기 C#에서 MySQL 연동하기 출처 : http://darby.wo.tc/blog/entry/C-C%EC%97%90%EC%84%9C-MySQL-%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0 [C#] C#에서 MySQL 연동하기. 모처럼 시험이 끝나서 뭔가 좋은정보 남길거 없나 하다가 본 강좌를 쓰게되었습니다. 그럼 시작해볼까요? 필자는 VS2008(한글판)을 사용하기때문에 VS2008 기준으로 설명하겠습니다. 먼저 다음 링크에 접속한뒤 .Net Connector 를 다운로드 하여 설치합니다. ( http://dev.mysql.com/downloads/connector/net/5.2.html ) 설치를 정상적으로 마쳤다면 [프로젝트(P)] - [참조추가(R)] 의 .NET 탭에서 MySQL.Data 를 추가합니다. .. 더보기 C# 웹페이지를 읽어 문자열로 반환하는 코드 출처 : http://ruru.tistory.com/348 pageUrl에 해당하는 페이지 요청을 생성해 응답으로 넘어오는 스트림을 문자열에 담아 결과 값을 문자열로 반환하는 C# 코드 private string LoadPage() { int bufMaxSize = 65535; int bufMinSize = 8192; StringBuilder sb = null; string pageUrl = "http://www.google.co.kr/"; try { HttpWebRequest req = WebRequest.Create(pageUrl) as HttpWebRequest; HttpWebResponse res = req.GetResponse() as HttpWebResponse; Stream resStream.. 더보기 C# 예제 및 링크 출처 : http://blog.naver.com/tramper2?Redirect=Log&logNo=100055381020 엑셀연동, 데이타 그리드뷰 바인딩등 괜찮은 예제들 http://blog.naver.com/hjc426 엑셀파일 읽기 및 수정 http://blog.naver.com/llabrall/40018669236 엑셀파일 조작 http://www.time21.com/zbxe/?mid=net&listStyle=webzine&page=1&document_srl=104 c# 학습 자료 http://www.jabook.org/jabook/csharp/menu.html c#에서 엑셀을 자동화 하는 방법 http://usnbible.tistory.com/entry/C에서-엑셀을-자동화하는-방법 oledb를.. 더보기 이전 1 다음