hi,
i am doing a project in C#.NET desktop application. how can I make a upload, retrieve functionality in C#.NET desktop application for pdf documents, I am using a sql client for the moment, so i need to upload the file(file path, content, title in to the database) how can i do this. i want to do it in C#.NET desktop application.
please if someonr knows that answer can u guide me on this.
thank you!!
krishnisilva
0
Junior Poster
Recommended Answers
Jump to Post>how can i do this. i want to do it in C#.NET desktop application.
Steps:
1. Table structure should be - file path(varchar), content(image), title(varchar)
2. Open and read the content of file and store it into byte array.
3. Prepares connection,command, and parameters objects to insert data.
All 3 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
krishnisilva
0
Junior Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.