1. NuGet 패키지 관리 클릭
2. 검색 후 설치
3. using
4. 코딩
private void button3_Click(object sender, EventArgs e)
{
// input
WebClient wc = new WebClient();
wc.Encoding = Encoding.UTF8;
string html = wc.DownloadString("http://www.naver.com");
agi.HtmlDocument doc = new agi.HtmlDocument();
doc.LoadHtml(html);
textBox4.Text = doc.GetElementbyId("newsstand").InnerText;
}
'etc > 프로그래밍' 카테고리의 다른 글
C# - 원격 서버에서 오류를 반환했습니다. (411) 길이가 필요합니다. (0) | 2020.11.18 |
---|---|
C# - AxWebBrowser (0) | 2020.11.02 |
비주얼 스튜디오 DB 연결 하기 - MySQL (0) | 2020.11.02 |
Visual Studio 2019로 C# 개발하기 001 설치, 설정, 배포하기 (0) | 2020.11.02 |
000. 내가 파이썬을 설치하면서 이것저것 설정한 것들 (0) | 2020.06.16 |
댓글