Why can’t GridView extract child control’s values directly?
Posted
by SourceC
on Stack Overflow
See other posts from Stack Overflow
or by SourceC
Published on 2009-04-11T21:25:49Z
Indexed on
2010/06/08
11:12 UTC
Read the original article
Hit count: 519
Hello
using Bind in a GridView control template enables the control to extract values from child controls in the template and pass them to the data source control. The data source control in turn performs the appropriate command for the database. For this reason, the Bind function is used inside the EditItemTemplate or InsertItemTemplate of a data-bound control.
Why is Bind() needed to extract values and pass them to GridView. Why isn’t GridView able to extract child control’s values directly?
thanx
© Stack Overflow or respective owner