asp.net mvc 5 - how to create a folder with user name or email? -


i've tried make folder whenever registered system don't know how create name of user name or user email help?

this should you're looking for

string directorypath = server.mappath(string.format("~/{0}/", txtfoldername.text.trim()));     if (!directory.exists(directorypath))     {         directory.createdirectory(directorypath);     } 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -