我将使用c#???代码运行
将数据从xml文件加载到组合框代码:
private void GetIrama()
DataAkses.EKG.Referensi referen = new DataAkses.EKG.Referensi(_conn);
DataTable data;
string msg;
XmlDocument xmldoc = new XmlDocument();
int i = 0;
string str = null;
FileStream fs = new FileStream("REF_IRAMA_DSR.xml", FileMode.Open, FileAccess.Read);
xmldoc.Load(fs);
ListItemPopup irm;
DataSet ds = new DataSet();
cbiramadasar.Items.Clear();
XmlNodeList colorList = xmldoc.SelectNodes("config/dataSources/dataSource");
foreach (XmlNode dataSources in colorList)
{
cbiramadasar.Items.Add(dataSources.Attributes["DESCRIP"].Value.ToString());
}
}