tags:

views:

80

answers:

2

I dragged a file upload control to my Form, and I want to save the "image" the user chooses to an object[] Array so I can then save it.

I only need to know how to "grab" the image the user selects and save it as a byte[] array.Thanks

A: 

Would you not consider outsourcing to gravatar, like in SO ?

dove
I really despise Gravatar. :D
Sergio Tapia
+1  A: 

I would use the fileupload.SaveAs Method

if(myFileUpload.HasFile)
{
   myFileUpload.SaveAs(filenmae); 
}
Arthur