Professional Documents
Culture Documents
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
namespace ReadXml
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
sName = hdp.Name.ToString();
sValue = theader.Value.ToString();
if (hdp.Name == "TransNum")
{
//MessageBox.Show(sValue);
}
}
switch (Titem.Name)
{
case "Combo":
if (comboItemProp.Name !=
"ComboItem")
{
string ssName =
comboItemProp.Name;
string ssValue =
comboItemProp.Value;
}
else
{
foreach (XmlNode comboItem in
Titem.ChildNodes)
{
string sssame =
header.Name;
string sssValue =
header.Value;
}
}
}
break;
case "Item":
break;
}
}
}
}
}
}
}
}
}
}