claracruz
asked on
Formview DataRowView
Hello experts,
I am needing to a record from my DataRowView to make some calculations and then bind the result to a label control.
How do I achieve this if the control being used is a formview control.
In a datalist control, I do the following;-
string DOORPLAN = ((DataRowView)e.Item.DataI tem)["DOOR PLAN"].ToS tring();
in the ItemDataBound event of the control
protected void DataList1_ItemDataBound(ob ject sender, DataListItemEventArgs e)
{
string DOORPLAN = ((DataRowView)e.Item.DataI tem)["DOOR PLAN"].ToS tring();
///do stuff then bind result to control
}
What is the equivalent for formviews
I am needing to a record from my DataRowView to make some calculations and then bind the result to a label control.
How do I achieve this if the control being used is a formview control.
In a datalist control, I do the following;-
string DOORPLAN = ((DataRowView)e.Item.DataI
in the ItemDataBound event of the control
protected void DataList1_ItemDataBound(ob
{
string DOORPLAN = ((DataRowView)e.Item.DataI
///do stuff then bind result to control
}
What is the equivalent for formviews
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER