Mavengers
Developer's Blog
Tuesday, June 17, 2014
use httpcontext and server mappath in a c# class library
1) add using System.Web;
2)string filePath = HttpContext.Current.Server.MapPath("~/TextFiles/StylePath.txt");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment