i have the following xml \[code\]<?xml version="1.0" encoding="utf-8" ?><properties> <entry key="dbname">financedb</entry> <entry key="username">admin</entry> <entry key="password">root</entry></properties>\[/code\]I need to have function in which i want to read all three key values and read into string using XMLTextreader ..ive tried this but i am clueless now what to do.\[code\][WebMethod] public getConStrings() { XmlTextReader reader = new XmlTextReader ("/_layouts/SPCustomWS/zahid.xml"); XmlNodeType type; while (reader.Read()) { type = reader.NodeType; if (type == XmlNodeType.Element) { if (reader.Name == "dbname") return reader.Value; } } }\[/code\]actually i want something like the following using xml which i did with web.config\[code\]string ODataSource = ConfigurationManager.AppSettings["OracleDataSource"].ToString();string OUserID = ConfigurationManager.AppSettings["OracleUserID"].ToString();string OPassword = ConfigurationManager.AppSettings["OraclePassword"].ToString();\[/code\]