Why can’t GridView extract child control’s values directly?
- by SourceC
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