Article: Upload and Download PDF file Database in ASP.Net using C# and VB.Net
Hi sir
I have student data in my database table M_user in which id, student name, enrolment no, and there uploaded photo path.
When I click on search button then in my GridView this information shows id, student name, enrolment no show. I want to add link view button where I can click on link button student uploaded document display in new tab. Student’s uploaded 5 documents so i want to show this all 5 documents on view link button can this possible.
Refer
Open PDF File in New Window or New Tab on Button click in ASP.Net
Instead of populating the details from folder, populate it from database.
Yes there are student documents I want to view all documents uploaded by students at time once when I click on linkbuttonn then students documents display linke his all uploaded documents there path are stored in photpath column.
All 5 documents cannot be viewed together.
In the View column, display links of all 5 columns.
User can click any one and view.
Also what type of documents you are storing?
Okay muddsar thank for reply so please tell me how I to do In the View column, display links of all 5 columns.so can user view there documents. Documents I store like student marksheet, adhar card, passport, signature all are in pdf formate. Please give me code.
On View link click bind another GridView with specific student document details with view link.
When student click on that button then open that pdf in New Tab as shared in my previous reply.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.