SSIS script task 读取自定义配置文件信息(app.comfig)

XmlDocument xdoc = new XmlDocument();      
xdoc.Load("K:\\xml.xml");
XmlNode xn = xdoc.SelectSingleNode("/configuration/appSettings/add[@key='UserPwd']");
string pwd = xn.Attributes[1].Value.ToString();

你可能感兴趣的:(script)