Click here to Skip to main content
14,454,989 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello!
I want to create a document turnover program. namely pdf, word, Excel, audio, video. Help me please with source code.


What I have tried:

I tried the blob but it didn't work
Posted
Updated 15-Feb-20 0:21am
Rate this:
Please Sign up or sign in to vote.

Solution 1

"It didn't work" is one of the most useless problem descriptions we get: unfortunately we get it a lot.
It tells us nothing about what you tried, how you tried it, what happened when you tried it, what you did to find out why, or what you need from us.
So in future, please show us code you tried and what exactly happened when you did...

But most times, when you try to store info in a DB and it doesn't work, it's because you are doing it wrong, and images normally show it as a problem when you try to fetch them from the db with a "Parameter not valid error" - other file types will give different errors, but for the same reasons.

So start here: Why do I get a "Parameter is not valid." exception when I read an image from my database?[^] - it's image based, but it's applicable to any array of data you try to store.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

You shouldnt do that, but develop a service which copy the files to a hard drive and delivers an unique file system.

Read this project report about a dms for some insights.
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

Quote:
I tried the blob but it didn't work

Blob is not the problem. Your problem is somewhere else.
The blob datatype is specially designed for binary data, it means that when you read it, you get back exactly what was saved in it.
Binary large object - Wikipedia[^]
   

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