Click here to Skip to main content
15,214,463 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want store doc files in database but file should not more than 20 mb please help me?
Updated 24-Jul-13 18:19pm
Ron Beyer 25-Jul-13 1:00am
While I can't help you on the VB part, you should not be storing large amounts of binary data in your database. You should upload this to a directory and put the file path in the database.
Thanks7872 25-Jul-13 1:07am
Makes sense. I would have been given +5..:-)

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

1.If you want to store files in databas indeed ,convert this file to bytes and then store
2.If you just want to store files ,I advise that you create a directory and upload your all files in it .

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

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