访问带有服务器站点代码的html表数据 [英] Acess html table data with server site code

查看:63
本文介绍了访问带有服务器站点代码的html表数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用服务器站点代码访问html表数据

I want to access html table data with server site code

推荐答案

Give a unique id of your table, add runat tag
---------------------------------
<table id="t" runat="server">
<tr><td>1</td></tr>
</table>

Access Data from server side as
t.Rows[0].Cells[0].innerText


这篇关于访问带有服务器站点代码的html表数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆