You may want to update your code to the following;
string fileName = Path.GetFileName(FileUpload1.PostedFile.FileName);
Attachment myAttachment =
new Attachment(FileUpload1.FileContent, fileName
Also use a debugger to see if the file content and path is not null.
Good luck,
OI