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

Popular posts from this blog

Parameter Query

Final Project

Grid View Paging