GridView中BoundField的InsertVisible属性的用途是什么 [英] What is the use of InsertVisible property of BoundField in a GridView

查看:231
本文介绍了GridView中BoundField的InsertVisible属性的用途是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们.谁能向我解释GridView中BoundField的"InsertVisible"属性的用法以及在什么条件下应该使用它.我在msdn.com上看到了说明,但我无法完全理解.
在此先感谢..

Hi Friends.. Can any one explain me what is the use of "InsertVisible" property of BoundField in a GridView and at what conditions we should use it. I had seen the description in msdn.com but iam not able to understand exactly.
Thanks in advance..

推荐答案

InsertVisible :如果此属性的值设置为"False",则无法设置插入"模式下相关列的值.因此,当需要以编程方式设置列的值或可能是数据库中定义的默认值时,通常使用此属性/功能.

以防万一,这里是 MSDN链接 [ ^ ]听起来像您已经经历过了.
InsertVisible: If the value of this property is set to ''False'' then one cannot set the value for the related column in ''Insert'' mode. Thus, this property/feature is generally used when one wants to set a value of the column programmatically or may be default value defined in a database.

Just in case, here is the MSDN link[^] that sounds like you already went through.


这篇关于GridView中BoundField的InsertVisible属性的用途是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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