隐藏表中字段
1. HTML Mark
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
table#Customers tr td:nth-child(3), tr td:nth-child(6) {
display: none;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<table id="Customers" border="1">
<tr>
<td>Test Data11</td>
<td>Test Data12</td>
<td>Test Data13</td>
<td>Test Data14</td>
<td>Test Data15</td>
<td>Test Data16</td>
</tr>
</table>
<table border="1">
<tr>
<td>Test Data21</td>
<td>Test Data22</td>
<td>Test Data23</td>
<td>Test Data24</td>
<td>Test Data25</td>
<td>Test Data26</td>
</tr>
</table>
</div>
</form>
</body>
</html>
http://forums.asp.net/t/2022409.aspx