Good day!

I just want to ask how or what codes do i need to view a saved pdf file, in my program the admin user can upload any file such as resume in pdf form then it will be save to the database just like saving, adding image etc. for the limited user, he can only view the input records from the datagrid then there will be an button stating "view resume file " corresponse to that particular input record( new window will appear for pdf viewing). i dont want the limited user to open/search the pdf file in the directory i want it to automatically displayed since the path is already save in the database how will i manage it, since there will more than one record in the database. thank you in advance

Is the database storing a path to the original file, or a blob?

If it is a path, just create a local copy of the pdf that gets deleted once the user closes the application

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.