Last post Oct 17, 2008 12:59 AM by babreu
Feb 16, 2007 05: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 06: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 06:30 PM|gasser|LINK
You could use the DataItem property of the
value = ((
Hope this helps.
formview binding dataitem
Oct 17, 2008 12:59 AM|babreu|LINK