Hi, Please Explain with example ItemCommand and ItemDatabound of a Data Representation Control.
+3
A:
ItemDataBound is an event that fires once on your server for every record bound to the control. ItemCommand is the event that will fire if you click a command button that is associated with the record.
Joel Coehoorn
2009-09-30 20:57:50
A:
These are events associated with data driven server controls.
ItemDataBound is fired everytime a new item is binded to your data control.
ItemCommand is fired when the command event for a Button or LinkButton or ImageButton inside the data control is used.
Scozzard
2009-09-30 21:00:49