Last post Oct 16, 2008 07:59 PM by babreu
Feb 16, 2007 12:44 PM|kira1|LINK
Hi, Can someone help me out here. Maybe this is a dumb question but why does FormView OnDataBound not have RowEventArgs the same as RowDataBound on a GridView? Without RowEventArgs how can I access the values of the fields in the selected record when
the FormView OnDataBound is fired? [:|]
When the GridView RowDataBound fires before each row is rendered I can use
Feb 16, 2007 01:21 PM|JoshStodola|LINK
It seems like you can not access the data on the binding event. Maybe because a form view will only display one record at a time, so you really wouldnt need to access it as it was being bound. You could probably accomplish what you needed before binding.
I did notice, however, that the ItemInserting/Updating/Deleting events all have those special event handling parameters.
Nov 12, 2007 01:30 PM|gasser|LINK
You could use the DataItem property of the
value = ((
Hope this helps.
formview binding dataitem
Oct 16, 2008 07:59 PM|babreu|LINK