Hi, I'm trying to use the Server.MapPath in my ClassLibrary application, but I didn'get it...I tryed already the System.Web.Http ServerUtility.. .
OpenConn();
DataSet dsErrorSQL = new DataSet();
HttpServerUtili ty myPath = new HttpServerUtili ty();
dsErrorSQL.Read Xml(myPath.MapP ath("XMLErrors. xml"));
and i have this error:
No overload for method 'HttpServerUtil ity' takes '0' arguments
Wich namespace should i import ?
Thank you folks!
Daniel
OpenConn();
DataSet dsErrorSQL = new DataSet();
HttpServerUtili ty myPath = new HttpServerUtili ty();
dsErrorSQL.Read Xml(myPath.MapP ath("XMLErrors. xml"));
and i have this error:
No overload for method 'HttpServerUtil ity' takes '0' arguments
Wich namespace should i import ?
Thank you folks!
Daniel
Comment