K
Kristina Foxwell
Hello:
I am currently having problems with an ASP.NET page...I've never
programmed in ASP or HTML so all of this is new to me.
I have a table that contains a list of files. The columns are a Document
Description, the Filename (with the application extension) of the document,
and a button that will say "View Document". When the user clicks on a
button, I have pull up the document in the application it belongs to. I will
need to pull up documents for Word, Excel, Project, etc....For example, if I
click a button to view an Excel document, I have to start Microsoft Excel
and pull that document up. I'm dynamically creating the table so I can't use
the <asp:button> tag in the aspx.vb file...or can you? How do I bind each
button to a separate document? Do I need <input type = button> instead? Is
there any way to do this?
This is what I currently have in the Form.aspx.vb file to define the button:
'add a button to the table cell
objCell.Text = "<input type='submit' name='btnView'
onClick='ViewDoc_Click()' value='View Document'>"
ViewDoc_Click( ) will go to the database and retrieve the full file path,
and then call another procedure to start the external application.
I'm new to ASP, HTML, & ASP.NET...any help would be greatly appreciated.
Thanks,
Kristina Foxwell
I am currently having problems with an ASP.NET page...I've never
programmed in ASP or HTML so all of this is new to me.
I have a table that contains a list of files. The columns are a Document
Description, the Filename (with the application extension) of the document,
and a button that will say "View Document". When the user clicks on a
button, I have pull up the document in the application it belongs to. I will
need to pull up documents for Word, Excel, Project, etc....For example, if I
click a button to view an Excel document, I have to start Microsoft Excel
and pull that document up. I'm dynamically creating the table so I can't use
the <asp:button> tag in the aspx.vb file...or can you? How do I bind each
button to a separate document? Do I need <input type = button> instead? Is
there any way to do this?
This is what I currently have in the Form.aspx.vb file to define the button:
'add a button to the table cell
objCell.Text = "<input type='submit' name='btnView'
onClick='ViewDoc_Click()' value='View Document'>"
ViewDoc_Click( ) will go to the database and retrieve the full file path,
and then call another procedure to start the external application.
I'm new to ASP, HTML, & ASP.NET...any help would be greatly appreciated.
Thanks,
Kristina Foxwell