Click here to Skip to main content
13,249,504 members (56,939 online)
Rate this:
Please Sign up or sign in to 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 6-Dec-12 2:07am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can use Image/CLOB datatypes to store your image files.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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-
 <httpruntime executiontimeout="600" maxrequestlength="150000" />

and for Saving Your File in Database Refer this Link-

video Upload and view in c#[^]

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171114.1 | Last Updated 6 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100