foreach (string sectionName in sectionNames) { if (sectionName != string.Empty) treeView1.Nodes.Add(sectionName); }
foreach (string sectionValue in sectionValues) { // for (int i = 0; i < sectionNames.Length; i++) { if (sectionValue != string.Empty) { treeView1.Nodes[0].Nodes.Add(sectionValue); } }
System.Configuration.ConfigurationManager.GetSection("");
XDocument xdoc = XDocument.Load("web.config"));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)