基于HTML表的Gridview [英] HTML table based Gridview

查看:56
本文介绍了基于HTML表的Gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在HTML表中显示数据?HTML表的作用与Gridview相同,用于显示数据库中的数据.

How to display data in HTML Table?Html table works same as Gridview for displaying data from the database.

推荐答案

http://www.w3schools.com/ado/ado_display.asp [
http://www.w3schools.com/ado/ado_display.asp[^]

May this link usefull to u.......:)


有用.渲染GridView时,它还会生成HTML Table脚本.您可以通过
从javascript访问
When GridView Rendered, it also produce HTML Table script. you can accessfrom javascript as
var tableGrid=document.getElementById(''<%=gridID.ClientID%>'');




HtmlTable [ ^ ]是用于显示标准html表的服务器端控件.它由HTMLTableRows HTMLTableCells组成.如果您不需要它,请不要使用它.那是我的建议.改用GridView.借助gridView,您可以在服务器端(各种事件)上获得全面支持,以自定义所需内容,并可以使用CSS随意设置其格式::)
Hi,

HtmlTable [^] is server side control used to display standard html table. It is consist of HTMLTableRows HTMLTableCells. If you don''t need it don''t use it. That''s my advice. Use GridView instead. With gridView you have full support on server side (various events) to customize whatever you want and with css you can format it as you like... :)


这篇关于基于HTML表的Gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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