I am using ASP.NET and C#.
I have made a document uploading page, In which use can upload their document. I am saving three fields in the database,
- Document Name [NVarchar]
- File [Image]
- DocumentType [NVarchar]
Now, I am able to add records in the database, successfully. Now I want to show it in the gridview, like DocumentName, DocumentType and a link to download the file.
I have tried by retrieving the records and assigning them to the gridview but I am getting only two columns.