摘要:
一直用在项目里操作XML的类 NewXmlControl.csusing System;using System.Xml;using System.Configuration;using System.Data;using System.Collections;using System.IO;namespace YZControl{ public class NewXmlControl : Object { protected string strXmlFile; protected XmlDocument objXmlDoc = new XmlDocu... 阅读全文
摘要:
代码如下: [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState(int Description, int ReservedValue); public static bool IsConnectedToInternet() { int Desc = 0; return InternetGetConnectedState(Desc, 0); } private voi... 阅读全文