这个程序只是尝试一下how to connect to and read from a website.
这里我connect到一个天气预报的site.然后读取了html.
有时间加上form什么的, 可以做成一个小的天气预报application
using System;
using System.IO;
using System.Net;
using System.Text;
namespace edelweiss.Weather
{
public class Weather{
public Weather(){
}
private void connect(){
【在 E*******s 的大作中提到】 : 这个程序只是尝试一下how to connect to and read from a website. : 这里我connect到一个天气预报的site.然后读取了html. : 有时间加上form什么的, 可以做成一个小的天气预报application : using System; : using System.IO; : using System.Net; : using System.Text; : namespace edelweiss.Weather : { : public class Weather{