Click here to Skip to main content
15,868,148 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Please! send me the information regarding that how to store the image,photo,.doc,.pdf and Video file can store in Microsoft SQL Server database also try to send the detailed information with sample code and example particularly.
Posted

here i have Given Code u can use it according to your need basically we only need to use Fileupload Control and we can Upload Any type of file.

But if we uploading Video then Size will be Big then it will through an exception and to get rid of this add one line-
HTML
<system.web>
 <httpruntime executiontimeout="600" maxrequestlength="150000" />
</system.web>


and for Saving Your File in Database Refer this Link-

video Upload and view in asp.net c#[^]
 
Share this answer
 
You can use Image/CLOB datatypes to store your image files.
 
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