Creating Directory using code
How can we create directory-
1. In order to create a directory we have to first include a library called IO.
using System.data.IO;
2. select a TextBox and a Button from toolbox.
3. write the code inside the button-
Directory.CreateDirectory(Request.MapPath(Textbox1.Text) + "/"));
Comments
Post a Comment