文字列をコードに入れたいname
ので、テキストボックス入力によって名前が付けられたフォルダーを作成できます。このコードを変更するにはどうすればよいですか?
string name = txtUsername.Text;
string path = Server.MapPath("~/here the string name /");
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
文字列をコードに入れたいname
ので、テキストボックス入力によって名前が付けられたフォルダーを作成できます。このコードを変更するにはどうすればよいですか?
string name = txtUsername.Text;
string path = Server.MapPath("~/here the string name /");
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}