asp.net中的行数据绑定 [英] row databound in asp.net

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

问题描述

为什么要使用gridview的行数据绑定事件...


谁能解释这种代码的和平?我不知道它在做什么..

why id the row databound event of a gridview is used...


can anyone explain this peace of code?? i don''t know that what is it doing..

if (e.Row.RowType == DataControlRowType.DataRow)

推荐答案

它基本上检查行的DataControlRowType.有6个DataControlRowTypes.您可以在此处检查它们 [
It basically checks the DataControlRowType of the row. There are 6 DataControlRowTypes. You can check them here[^].


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

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