資源簡介
Linq操作XML實(shí)例源碼,添加、刪除、修改、查詢功能已經(jīng)實(shí)現(xiàn)
代碼片段和文件信息
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?System.IO;
using?System.xml;
using?System.xml.Linq;
namespace?LinqOperxml
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????static?string?strPath?=?“Employee.xml“;
????????static?string?strID?=?““;
????????//窗體加載時(shí)加載xml文件
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????if?(File.Exists(strPath))
????????????{
????????????????groupBox1.Enabled?=?false;
????????????????getxmlInfo();
????????????}
????????????else
????????????????groupBox1.Enabled?=?true;
??
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-25?10:11??Linq操作xm
?????目錄???????????0??2013-01-25?10:11??Linq操作xm
?????文件?????????923??2008-12-04?08:26??Linq操作xm
?????文件???????13312??2009-01-07?13:39??Linq操作xm
?????目錄???????????0??2013-01-25?10:11??Linq操作xm
?????目錄???????????0??2013-01-25?10:11??Linq操作xm
?????文件?????????170??2009-02-21?14:36??Linq操作xm
?????文件???????18944??2009-01-06?08:52??Linq操作xm
?????文件???????30208??2009-01-06?08:52??Linq操作xm
?????文件???????14328??2009-01-07?13:38??Linq操作xm
?????文件?????????490??2007-07-21?01:33??Linq操作xm
?????文件????????5208??2009-01-06?08:51??Linq操作xm
?????文件???????20554??2009-01-06?08:51??Linq操作xm
?????文件????????5814??2009-01-06?08:51??Linq操作xm
?????文件????????3768??2009-01-06?08:50??Linq操作xm
?????目錄???????????0??2013-01-25?10:11??Linq操作xm
?????目錄???????????0??2013-01-25?10:11??Linq操作xm
?????文件?????????712??2009-01-07?13:38??Linq操作xm
?????文件?????????847??2009-01-06?08:52??Linq操作xm
?????文件???????18944??2009-01-06?08:52??Linq操作xm
?????文件?????????180??2009-01-06?08:52??Linq操作xm
?????文件???????30208??2010-08-18?17:51??Linq操作xm
?????文件?????????180??2009-01-06?08:52??Linq操作xm
?????目錄???????????0??2012-05-02?09:56??Linq操作xm
?????目錄???????????0??2012-05-02?09:56??Linq操作xm
?????文件?????????492??2008-12-04?08:26??Linq操作xm
?????目錄???????????0??2013-01-25?10:11??Linq操作xm
?????文件????????1381??2008-12-11?14:21??Linq操作xm
?????文件????????2872??2008-12-04?08:26??Linq操作xm
?????文件????????5612??2010-08-18?17:51??Linq操作xm
?????文件????????1096??2008-12-04?08:26??Linq操作xm
............此處省略1個(gè)文件信息
評論
共有 條評論