<table border="0" cellspacing="0" cellpadding="0" width="100%" summary=""> <tbody> <tr> <td align="left" valign="top" class="small"><a href="customer_deals.jsp?index=1" class="udrlinesmall">FIDELITY NATIONAL FINANCIAL, INC.</a> <br> (Y10070072898)</td> <td align="right" valign="top"><a href="show_global_customer.jsp?index=1" class="udrlinesmall"><img src="/images/hpweb_1-2_info_icn.gif" border="0" alt="detail for FIDELITY NATIONAL FINANCIAL, INC."></a></td> </tr> </tbody> </table>
HtmlElementCollection a = gpcommwindow.Document.GetElementsByTagName("a"); foreach (HtmlElement b in a) { if (b.GetAttribute("href").StartsWith("customer_deals.jsp?index=1")) { string item = b.GetAttribute("href"); int indx = item.Length - 26; string retString = item.Substring(26, indx); //listBox1.Items.Add(retString); item = null; retString = null; } } please help
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)