Posted on: 4/2/2014 1:18:43 AM | Views : 385

Hi all
I've a problem with FileUpload when I select a file to upload and start debugging.
FileUpload shows me there is no files condition false and come out from the code block.
I think there is some problem in my code
protected void btnUpload_Click(object sender, EventArgs e) { string msg = ""; string txt_FolderName = txtBoxFolderName.Text; string folderCategory = @"~/Upload/Category"; string pathString = folderCategory + "/" + txt_FolderName; if (Directory.Exists(Server.MapPath(pathString))) { msg = "Floder " + txt_MovieName + " already exists !!!"; lblmsg.Visible = true; lblmsg.Text = msg; txtBoxFolderName.Text = ""; } else { Directory.CreateDirectory(Server.MapPath(pathString)); txtBox ...

Go to the complete details ...