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!!

>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.

hi,
please can you provide with me with the C# code for the one you have explained.
thank you!!

That's not help. That would be doing your homework for you. Read the forum rules . You need to show effort, and what better way than posting the code that you have tried so far?

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.