public static string Select(string xmlpath, string xmlsinglenode)
{
try
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(xmlpath);
string selectString = xmlDoc.SelectSingleNode(xmlsinglenode).InnerText;
return selectString;
}
catch (Exception ex)
{
Log.SystemLog(ex.Message);
return "";
}
}
{
try
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(xmlpath);
string selectString = xmlDoc.SelectSingleNode(xmlsinglenode).InnerText;
return selectString;
}
catch (Exception ex)
{
Log.SystemLog(ex.Message);
return "";
}
}