Stream fileDataStream = MyFile.PostedFile.InputStream;
int fileLength = MyFile.PostedFile.ContentLength;
byte[] fileData = new byte[fileLength];
fileDataStream.Read(fileData,0,fileLength);
myCommand.Parameters.Add(":filecontent",OleDbType.Binary,fileLength,"filecontent").Value = fileData;