使用Windows Phone 8应用程序访问html页面的选项卡中的html页面 [英] Accessing a html page that is in a tab of a html page using Windows Phone 8 app
问题描述
我正在用C#和Windows Phone 8进行编程.我目前正在尝试访问html页面(例如,假设学生的学科成绩为[page 2]).
I am programming in C# and for Windows Phone 8. I am currently trying to access a html page (lets say an students subject grades[page 2]).
此html页面由放置在另一个html页面(登录[页面1]后的学生主屏幕)内的href
标记引用,我已经在的帮助下使用HttpClient
对象访问了该页面. POSTAsync
功能.
This html page is referenced by a href
tag that is placed within another html page (the students home screen after log in [page 1]), which i have accessed using a HttpClient
object with the help of a POSTAsync
function.
我需要知道一种方法,可以以编程方式单击此特定链接(从第1页到第2页).
I need to know a way by which i can programmatically click this specific link (from page 1 to page 2).
我知道如何使用HTMLAgilityPack访问href内容,但是我不知道如何加载特定于每个人的"THAT"(第2页)HTML页面.预先谢谢你.
I know how to access the href content using the HTMLAgilityPack, but i don't know how to load "THAT"(page 2) HTML page which is specific and different to every individual. Thank you in advance.
推荐答案
如果您可以使用HTMLAgilityPack访问href,那么您可以简单地调用另一个POSTAsync,并将URL作为href链接.
If you can access the href with the HTMLAgilityPack than you can simply call another POSTAsync with the url being the href link.
这篇关于使用Windows Phone 8应用程序访问html页面的选项卡中的html页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!