Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
Am creating one asp.net application. In my application i need to upload different format files (jpeg,woc,pdf etc).How can i do that?
Am using oracle as backend. Is it possible to store these items in their on format in database?

please provide me the code..
Posted

Use a FileUpload Control[^] - the link includes an example.

You can store any file content in Oracle in a BLOB field. Remember to store the file name separately from the data, but in the same row.
 
Share this answer
 
Hi,
Refer the links below for the similar solution:
Uploading files to database in C#[^]
Upload and Download File From Database Using GridView[^]
MSDN : FileUpload Class[^]


Hope it helps!
--Amit
 
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