隐藏表中字段
1. HTML Mark
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <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
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步