server.mappath is unable to access in the .cs file
i am unable to access the server class in my own .cs file what will i do to access that server.mapPath() method
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Koteswararao MallisettiPosted May 31, 2010, 9:52 AM
CrishPosted May 31, 2010, 7:26 AM
you need to add below namespace in your code file
using System.IO;
it will solve your problem.
Don't forget to Mark Do you like this Answer