Click here to Skip to main content
15,921,276 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using this code which is available in MySql site.
http://dev.mysql.com/doc/refman/5.0/en/connector-net-programming-blob.html

now the error is ' File can't be null '

I attached a file i.e. JPG file

Filesize is ok..filename is ok..but it throws an exception 'File can't be null'

Thnx in advanced :)
Posted
Updated 21-Oct-11 2:05am
v2

Double check your code matches that they gave. Without seeing exactly the code fragment you are running we can only guess what your problem is. And the best guess is: You missed something when you copied the code, or you aren't using it correctly.
 
Share this answer
 
Comments
Mehdi Gholam 21-Oct-11 7:34am    
my 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900