Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Team,

I need to parse the data in XML file to HTML page.

I am keeping XML data in a tabular format in HTML page.

I have two tables in HTML page.

How to give hyperlink from one table to another table in the same HTML page.

Mine is Windows form application.

Thanks,
Siri
Posted
Comments
Sreekanth Mothukuru 19-Jun-15 9:20am    
Set name and id attributes to the table (Ex: <table id="table1">) you want to display and from another table's hyperlink just provide href="#table1".

It will scroll to the table automatically.
Sinisa Hajnal 19-Jun-15 9:33am    
It is winform app. I don't think href will work :)

Erm...re-reading...it explicitly says HTML table, but the last sentence is windows form application.
Sinisa Hajnal 19-Jun-15 9:37am    
So, is it winform or asp.net? The question indicates both...if it is web, then Sreekanth already answered. If it is windows forms then have an action handler that sets focus to target table.
nsirisha 20-Jun-15 0:48am    
Thank you very much

1 solution

XML
Set name and id attributes to the table (Ex: <table id="table1">) you want to display and from another table's hyperlink just provide href="#table1".

It will scroll to the table automatically.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900