Click here to Skip to main content
15,902,114 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
give me a answer in the unique and simple way
Posted

1 solution

Saving an image to a DB is easy: Why do I get a "Parameter is not valid." exception when I read an image from my database?[^] shows how to do that.

But the "without using fileupload control" part implies that you want to get it from a client PC and save it at the server. Except in exceptional circumstances (which don't occur in 99.99% of cases) you can't do that: you do not have access to the client hard disk. All such transfers must be initiated by the client in one way or another - a file upload control of some form is required.
 
Share this answer
 

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