I am trying to read xml document and the following is what I did in default.aspx
XmlTextReader reader = new XmlTextReader(Server.MapPath("Config.xml"));
I need to add in "using System.Xml;" Then it is done.
I wanna change that to class. and I did the same thing, but the following error pops up.
Error 2 The name 'Server' does not exist in the current context
And When I right click and resolve, the system give me microsoft.sqlserver which is entirely irrelevant.
Why is that?