gridview中行绑定和数据绑定的目的是什么? [英] what is the purpose of rowbound and databound in gridview?

查看:61
本文介绍了gridview中行绑定和数据绑定的目的是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有人知道吗?



Can anyone know?

what is the purpose of rowbound and databound in gridview?

推荐答案

请参考 ^ ].

例如,RowBound是当您需要遍历行的各个列并设置格式或更改某些内容时.

例如,DataBound是数据源已执行的时间,也许您想检查是否有任何行.

继续阅读,因为有很大的不同.
Please refer to http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview_events.aspx[^].

RowBound, as an example, is when you need to loop through the individual columns of the rows and set formatting or change something.

DataBound, as an example, is when the datasource has been executed and maybe you want to check to see if there were any rows.

Read up on it, because there is a big difference.


请参阅以下链接:

GridView中的GridView
http://www.dotnetfunda.com/forums/thread4330-difference- between-rowcommand-and-row-databound.aspx
http://www.slideshare.net/arv100kri/da​​ta-binding-and- data-grid-view-classes
see following Links :

GridView within GridView
http://www.dotnetfunda.com/forums/thread4330-difference-between-rowcommand-and-row-databound.aspx
http://www.slideshare.net/arv100kri/data-binding-and-data-grid-view-classes


这篇关于gridview中行绑定和数据绑定的目的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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