📄 testtitlesservice.aspx
字号:
<%@ Page Language="C#" %>
<Script runat="Server">
void Page_Load(object sender, EventArgs e) {
TitlesService objTitlesService;
GetTitlesMatches objMatches;
int intCounter;
objTitlesService = new TitlesService();
objTitlesService.Timeout = 10000;
objMatches = objTitlesService.GetTitles();
for (intCounter = 0; intCounter < objMatches.Titles.Length; intCounter++) {
lblTitles.Text += "<p>TITLE: " + objMatches.Titles[intCounter];
lblTitles.Text += "<br>PRICE: " + objMatches.Prices[intCounter];
}
}
</Script>
<html>
<head><title>TestTitlesService.aspx</title></head>
<body>
<h2>Scraped Titles</h2>
<asp:Label
id="lblTitles"
Runat="Server" />
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -