Author: cubangt | Posted on: 4/1/2010 9:39:25 AM | Views : 218

Last year we created an application that creates folders for the records on our network drive. Everything worked til the new year.. then we had to update the code to create a new parent folder for the year, since then every other month it seems that the month folder gets created, but the individual folders under that month do not.. Can anyone see any issues with this code?
 
protected void Button6_Click(object sender, EventArgs e) { //Specify the path on the server to save the uploaded files to. String saveDir = @"\\cofiles1\common2\Logistics\VC 2010\"; //Give the time and date right now string dt = DateTime.Now.ToString("MM_dd_yyyy_hh_mm_ss") + "_"; //Get Current Month string m = DateTime.Now.ToString("MMMM"); //Sets folder name to PO Number string fd = Session["sessponum"].ToString(); ...

Go to the complete details ...