Gets the System.Web.UI.WebControls.FormViewRow object that represents the data row in a System.Web.UI.WebControls.FormView control.
Documentation for this section has not yet been entered.
Use the FormView.Row property to programmatically access the System.Web.UI.WebControls.FormViewRow object that represents the data row. The data row contains different content based on the template rendered for the current mode (specified by the FormView.CurrentMode property). You can only access the contents of the template for the current mode. The following table shows which template is used for each mode.
Edit | |
Insert | |
Read-only |
The FormView.Row property is available only after the System.Web.UI.WebControls.FormView control creates the data row in the FormView.ItemCreated event.
This property is commonly used when you need to programmatically manipulate the data row, for example when adding custom content. Any modification to the FormView.Row property must be performed after the System.Web.UI.WebControls.FormView control has been data-bound; otherwise, the System.Web.UI.WebControls.FormView control overwrites any changes.