教程集 www.jiaochengji.com
教程集 >  脚本编程  >  C语言  >  正文 C#第2个程序,读取偶网站的数据!

C#第2个程序,读取偶网站的数据!

发布时间:2019-01-28   编辑:jiaochengji.com
教程集为您提供C#第2个程序,读取偶网站的数据!等资源,欢迎您收藏本站,我们将为您提供最新的C#第2个程序,读取偶网站的数据!资源
由于偶网站是用XML搞D...说白了就是读XML而已(不要揍偶...)程序再最最下面,而且如果你觉得不一定是偶网站当前数据的话,欢迎http://www.joysou.com 嘿嘿,正想拉点人呢..
以下是引用片段:Form1.cs
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Xml;
namespace hellojoysou
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.DataGrid Visitors;
private System.Windows.Forms.Button GetXML;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form1()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();

//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()

您可能感兴趣的文章:

[关闭]
~ ~