Reputation: 81
Can any one explain to me what the use of "InsertVisible" property of BoundField
in a GridView
is and at what conditions we should use it? I have seen the description on msdn.com but I am not able to understand exactly.
Thanks in advance.
Upvotes: 7
Views: 8613
Reputation: 11433
The GridView
control is not designed for inserting data. Thus, this explanation is more applicable to a DetailsView
or a FormView
.
When you put a databound control into "insert mode", it turns all of the BoundField
s into user input controls (TextBox
s, CheckBox
s, etc) by default. InsertVisible
allows you to change this as follows:
Here is the MSDN article as a reference (I realize you mention that you read the article, this is just for the sake of completeness).
Upvotes: 7