Need Database Script for Substitution - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Need Database Script for Substitution

jlhilljlhill Posts: 3Member
I have a website, written in ASP .Net & C#, and I am using a Substitution to display the contents of an Excel spreadsheet. The page consists of a DetailsView with paging enabled; I need to coordinate the file shown in the substitution with the record currently displayed in the DetailsView. I have the filename stored in the same table as the contents of the DetailsView, but what I can't figure out is how to get that filename and display it in the Substitution.

Currently, I have it written as

" />

I was thinking about writing a SCRIPT tag in the page, but I'm not sure how to do that either...I need to be able to pull the filename from the table, AND if the user uploads a new file, to add it in the database record with the appropriate primary key (to match what is currently displayed in the DetailsView).

Please HELP!


Sign In or Register to comment.