Private Void Button31_click ( Object Sender, eventargs E)
{
Gethtmlnodefromlink2 ( " Http://www.lafaso.com/clothing/ " , " UTF-8 " ); // Http://www.vancl.com/channel/women.html Children
Htmlagilitypack. htmlnodecollection node = htmlnodes. selectnodes ( " // Div [@ class = 'clothing _ new clothing_moban ']/textarea/ul/Li " ); // " // Div [@ class = 'slidebannera homeslidead1 ']"
Strlink = New String [Node. Count];
Strimgsrc = New String [Node. Count];
Strtitle = New String [Node. Count];
Strmarketprice = New String [Node. Count];
Strcurrentprice = New String [Node. Count];
Int I = 0 ;
Foreach (Htmlnode In Node)
{
Try
{
Strlink [I] = htmlnode. childnodes [ 0 ]. Attributes [ " Href " ]. Value;
Strimgsrc [I] = htmlnode. childnodes [ 0 ]. Childnodes [ 0 ]. Attributes [ " SRC " ]. Value; // = NULL? Htmlnode. childnodes [0]. childnodes [0]. attributes ["original"]. value: htmlnode. childnodes [0]. childnodes [0]. attributes ["src"]. value ;;
Strtitle [I] = htmlnode. childnodes [ 1 ]. Childnodes [ 0 ]. Childnodes [ 0 ]. Innerhtml. Trim ();
// Strmarketprice [I] = htmlnode. childnodes [3]. childnodes [3]. innerhtml. trim (). replace ("$ ",""). replace ("¥ ","");
Strcurrentprice [I ++] = htmlnode. childnodes [ 2 ]. Childnodes [ 0 ]. Childnodes [ 0 ]. Innerhtml. Trim (). Replace ( " Lebee price: ¥ " , "" );
}
Catch
{}
}
}
Private Void Button32_click ( Object Sender, eventargs E)
{
Gethtmlnodefromlink2 ( " Http://www.lafaso.com/clothing/ " ," UTF-8 " ); // Http://www.vancl.com/channel/women.html Children
Htmlagilitypack. htmlnodecollection node = htmlnodes. selectnodes ( " // Div [@ class = 'clothing _ new clothing_shirt clothing_kz clothing_moban ']/textarea/ul/Li " ); // " // Div [@ class = 'slidebannera homeslidead1 ']"
// Clothing_new clothing_shirt clothing_moban
Strlink = New String [Node. Count];
Strimgsrc = New String [Node. Count];
Strtitle =New String [Node. Count];
Strmarketprice = New String [Node. Count];
Strcurrentprice = New String [Node. Count];
Int I = 0 ;
Foreach (Htmlnode In Node)
{
Try
{
Strlink [I] = htmlnode. childnodes [ 0 ]. Attributes [" Href " ]. Value;
Strimgsrc [I] = htmlnode. childnodes [ 0 ]. Childnodes [ 0 ]. Attributes [ " SRC " ]. Value; // = NULL? Htmlnode. childnodes [0]. childnodes [0]. attributes ["original"]. value: htmlnode. childnodes [0]. childnodes [0]. attributes ["src"]. value ;;
Strtitle [I] = htmlnode. childnodes [ 1 ]. Childnodes [ 0 ]. Childnodes [ 0 ]. Innerhtml. Trim ();
// Strmarketprice [I] = htmlnode. childnodes [3]. childnodes [3]. innerhtml. trim (). replace ("$ ",""). replace ("¥ ","");
Strcurrentprice [I ++] = htmlnode. childnodes [ 2 ]. Childnodes [ 0 ]. Childnodes [ 0 ]. Innerhtml. Trim (). Replace ( " Lebee price: ¥ " , "" );
}
Catch
{}
}
}
Private VoidButton33_click (ObjectSender, eventargs E)
{
Gethtmlnodefromlink2 ( " Http://www.lafaso.com/clothing/ " , " UTF-8 " ); // Http://www.vancl.com/channel/women.html Children
Htmlagilitypack. htmlnodecollection node = htmlnodes. selectnodes ( " // Div [@ class = 'clothing _ new clothing_shirt clothing_moban ']/textarea/ul/Li " ); // " // Div [@ class = 'slidebannera homeslidead1 ']"
//
Strlink = New String [Node. Count];
Strimgsrc = New String [Node. Count];
Strtitle = New String [Node. Count];
Strmarketprice = New String [Node. Count];
Strcurrentprice = New String [Node. Count];
Int I = 0 ;
Foreach (Htmlnode In Node)
{
Try
{
Strlink [I] = htmlnode. childnodes [ 0 ]. Attributes [ " Href " ]. Value;
Strimgsrc [I] = htmlnode. childnodes [ 0 ]. Childnodes [ 0 ]. Attributes [ " SRC " ]. Value; // = NULL? Htmlnode. childnodes [0]. childnodes [0]. attributes ["original"]. value: htmlnode. childnodes [0]. childnodes [0]. attributes ["src"]. value ;;
Strtitle [I] = htmlnode. childnodes [ 1 ]. Childnodes [ 0 ]. Childnodes [ 0 ]. Innerhtml. Trim ();
// Strmarketprice [I] = htmlnode. childnodes [3]. childnodes [3]. innerhtml. trim (). replace ("$ ",""). replace ("¥ ","");
Strcurrentprice [I ++] = htmlnode. childnodes [ 2 ]. Childnodes [ 0 ]. Childnodes [ 0 ]. Innerhtml. Trim (). Replace ( " Lebee price: ¥ " , "" );
}
Catch
{}
}
}
Private VoidButton34_click (ObjectSender, eventargs E)
{
Gethtmlnodefromlink2 ( " Http://www.lafaso.com/clothing/ " , " UTF-8 " ); // Http://www.vancl.com/channel/women.html Children
Htmlagilitypack. htmlnodecollection node = htmlnodes. selectnodes ( " // Div [@ class = 'clothing _ new clothing_shirt clothing_moban ']/textarea/P " ); // " // Div [@ class = 'slidebannera homeslidead1 ']"
//
Strlink = New String [Node. Count];
Strimgsrc = New String [Node. Count];
Strtitle = New String [Node. Count];
Strmarketprice = New String [Node. Count];
Strcurrentprice = New String [Node. Count];
Int I = 0 ;
Foreach (Htmlnode In Node)
{
Try
{
Strlink [I] = htmlnode. childnodes [ 0 ]. Attributes [ " Href " ]. Value;
Strimgsrc [I ++] = htmlnode. childnodes [ 0 ]. Childnodes [ 0 ]. Attributes [ " SRC " ]. Value; // = NULL? Htmlnode. childnodes [0]. childnodes [0]. attributes ["original"]. value: htmlnode. childnodes [0]. childnodes [0]. attributes ["src"]. value ;;
// Strtitle [I] = htmlnode. childnodes [1]. childnodes [0]. childnodes [0]. innerhtml. Trim ();
// Strmarketprice [I] = htmlnode. childnodes [3]. childnodes [3]. innerhtml. trim (). replace ("$ ",""). replace ("¥ ","");
// Strcurrentprice [I] = htmlnode. childnodes [2]. childnodes [0]. childnodes [0]. innerhtml. trim (). replace ("lebee price: ¥ ","");
}
Catch
{}
}
}
Private VoidButton35_click (ObjectSender, eventargs E)
{
Gethtmlnodefromlink2 (" Http://www.lafaso.com/clothing/ " , " UTF-8 " ); // Http://www.vancl.com/channel/women.html Children
Htmlagilitypack. htmlnodecollection node = htmlnodes. selectnodes ( " // Div [@ class = 'clothing _ new clothing_shirt clothing_kz clothing_moban ']/textarea/P " ); // " // Div [@ class = 'slidebannera homeslidead1 ']"
//
Strlink = New String [Node. Count];
Strimgsrc = New String [Node. Count];
Strtitle = New String [Node. Count];
Strmarketprice = New String [Node. Count];
Strcurrentprice = New String [Node. Count];
Int I = 0 ;
Foreach (Htmlnode In Node)
{
Try
{
Strlink [I] = htmlnode. childnodes [0 ]. Attributes [ " Href " ]. Value;
Strimgsrc [I ++] = htmlnode. childnodes [ 0 ]. Childnodes [ 0 ]. Attributes [ " SRC " ]. Value; // = NULL? Htmlnode. childnodes [0]. childnodes [0]. attributes ["original"]. value: htmlnode. childnodes [0]. childnodes [0]. attributes ["src"]. value ;;
// Strtitle [I] = htmlnode. childnodes [1]. childnodes [0]. childnodes [0]. innerhtml. Trim ();
// Strmarketprice [I] = htmlnode. childnodes [3]. childnodes [3]. innerhtml. trim (). replace ("$ ",""). replace ("¥ ","");
// Strcurrentprice [I] = htmlnode. childnodes [2]. childnodes [0]. childnodes [0]. innerhtml. trim (). replace ("lebee price: ¥ ","");
}
Catch
{}
}
}