有如下代码我想把它用c#来读取,有什么好的办法可以让他把所有内容全部读取出来吗?而且我只需要显示代码中的ID.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>ICDS - </title>
<link href="./../../css/fonts.css" rel="stylesheet" type="text/css">
<link href="./../../css/styles.css" rel="stylesheet" type="text/css">
<link href="./../../css/themes.css" rel="stylesheet" type="text/css">
<link href="./../../css/layout.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="20" topmargin="12"><script language="javascript">
function goto( page )
{
if ( page ) document.form1.pg.value = page;
document.form1.submit();
}
</script>
<div align="center"><form name="form1" method="post" action="CafesMutilServer.php?&sort=DESC&by=">
<table width="100%" border="1" cellpadding="0" cellspacing="0" class="data" >
<tr>
<td width="10%" class="menuHeader" nowrap><a href="?&sort=DESC&by=&sort=ASC">ID</a> <img src="../../images/s_DESC.png" border="0" width="11" height="9" title="递减" id="soimg1" /></td>
<td width="70%" class="menuHeader" nowrap><a href="?&sort=DESC&by=&sort=ASC&by=1">编号</a></td>
<td width="20%" class="menuHeader"><a href="?&sort=DESC&by=&sort=ASC&by=2">服务器数目</a></td>
</tr>
<tr>
<td><small>52102</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=52102">dsa.2</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>49402</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=49402">fde.4</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>39223</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=39223">ad.0003</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>30601</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=30601">ngd.0009</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>29761</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=29761">jkfjdsklda.00008</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>29561</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=29561">hgfd.0019</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>29281</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=29281">xiaozhao.0001</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>24302</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=24302">tianyuan</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>22421</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=22421">shishang</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>14783</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=14783">taiyangshan</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>14063</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=14063">3d-7-dfengshou-sanhe</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>14033</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=14033">3d-9-huozhi</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>13951</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=13951">3d-3-huijia</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>13884</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=13884">3d-2-boran</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>13840</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=13840">3d-5-xinxing</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>13298</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=13298">3d-5-deg-shenyangbozhonglong</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td><small>13006</small></td>
<td nowrap><small><a href="../cafe_detail.php?id=13006">wctq7-qidian.0012.0045</a></small></td>
<td><small>2</small></td>
</tr>
<tr>
<td valign="bottom" colspan="2"> <a href="#" onClick="goto( 1 );" class="mainmenu">首页</a>  <a href="#" onClick="goto( 1 );" class="mainmenu">上一页</a>  <a href="#" onClick="goto( 3 );" class="mainmenu">下一页</a>  <a href="#" onClick="goto( 7 );" class="mainmenu">末页</a>  跳至第 <input name="pg" value=2 type="text" size=5 /> 页 <input name="go" type="button" value="GO" OnClick="goto();" /> (2 / 7) </td>
<td align="center"> 共计:103<input name="tot_records" type="hidden" value="103"></td>
</tr>
</table></form>
</div>
</body></html>
谢谢各位了。。。。。