Author: matthisco | Posted on: 5/7/2009 3:40:01 AM | Views : 305

 I am trying to upload to a folder on my webserver determined by which radio button you select.
 I get an error:

BC30201: Expression expected. with the following line of code:
Line 38: FileUpload2.SaveAs("D:/home/Default/sandwell.nhs.uk/htdocs/about us/files/" & uploadpath &
Line 39: _FileUpload2.FileName)

 
Can anyone please help?
Thankyou

 
 Code in full below:

   Dim uploadpath as String
  
Sub doitagain(Source as Object, E as EventArgs)
    if radio1.SelectedItem.Value = "publications" then
Go to the complete details ...