This demo illustrates how to perform a screen scrape using the WebClient
class. Note that only a few lines of code are needed. (With classic ASP, to perform screen
scrapes you needed to use a third-party component.) To view the actual HTML returned by
the screen scrape, do a View/Source.
We are experiencing some temporary issues, please bear with us as we restore your personalized Homepage.
LOS ANGELES (AP) — The pipeline that leaked thousands of gallons of oil on the California coast was the only pipe of its kind in the county not required to have an automatic shut-off valve because of a court fight nearly three decades ago, a county official said.
DUBLIN (AP) — Irish voters have resoundingly backed amending the constitution to legalize gay marriage, leaders on both sides of the Irish referendum declared Saturday after the world's first national vote on the issue.
By Keith Coffman LONGMONT, Colo. (Reuters) - A Colorado State Patrol cadet was killed and his training officer critically injured on Saturday when a motorist they tried to stop struck them with his car, authorities said. The cadet, 21-year-old Taylor Thyfault, died at the scene on Colorado Highway 66 outside the town of Longmont, about 35 miles (56 km) north of Denver, State Patrol spokesman Trooper Josh Lewis said in a statement. Thyfault and Trooper Clinton Rushing, 37, were outside of their cruiser when they were struck, Lewis said.
(Reuters) - More than 70 people were rescued on Saturday after severe storms soaked Oklahoma during a month of record rainfall, authorities said. The Oklahoma City Fire Department said in a statement it had rescued more than 70 people after the drenching storms triggered flash floods in the city. The National Weather Service in Norman, Oklahoma, said Oklahoma City was just .11 inch shy of the all-time record for rainfall in any month.
A convoy of Shi'ite Muslim militia and Iraqi army forces set out from a base near Ramadi on Saturday to advance on areas held by Islamic State, a Shi'ite spokesman said, launching a counter-offensive to reverse stunning gains by the jihadi insurgents.
DAMASCUS, Syria (AP) — Islamic State fighters broke into the museum of Palmyra, though a Syrian official said its artifacts have been removed and are safe while the U.S.-led coalition conducted airstrikes on the group's installations near the captured ancient town — the first such reported attack in the central province of Homs.
<%@ Import Namespace="System.Net" %>
<script language="VB" runat="server">
Sub Page_Load(sender as Object, e as EventArgs)
'STEP 1: Create a WebClient instance
Dim objWebClient as New WebClient()
'STEP 2 and 3
Const strURL as String = "http://www.yahoo.com/"
Dim objUTF8 as New UTF8Encoding()
lblHTMLOutput.Text = objUTF8.GetString(objWebClient.DownloadData(strURL))
<h1>Screen Scrape of www.yahoo.com</h1>
<asp:label id="lblHTMLOutput" runat="server" />