Posted on: 6/5/2014 9:28:58 PM | Views : 458

It seems straight forward, but I just cannot find what is wrong.
Select Case did Case 1 to 7 dir = "C:\inetpub\wwwroot\ref\schedule\\2014summer\business\" Case 24 dir = "C:\inetpub\wwwroot\ref\schedule\2014summer\english\" Case 26 To 33 dir = "C:\inetpub\wwwroot\ref\schedule\2014summer\liberalarts\" Case Else dir = "C:\inetpub\wwwroot\ref\schedule\2014summer\others\" End Select
Try FileUpload1.SaveAs(dir & sid & "_"  & FileUpload1.FileName) Catch ex As Exception Label1.Text = "ERROR: " & ex.Message.ToString() End Try
When did = 19, I expect the file uploads to others folder, but instead it always sends to business folder.
What could possibly go wrong?!

Go to the complete details ...