DetailsView Item Inserted Error
'System.Web.UI.WebControls.DetailsViewInsertEventArgs' does not contain a definition for 'AffectedRows' and no extension metho开发者_运维知识库d 'AffectedRows' accepting a first argument of type 'System.Web.UI.WebControls.DetailsViewInsertEventArgs' could be found (are you missing a using directive or an assembly reference?)...
There are two different Events:
1: ItemInserting - has DetailsView*Insert*EventArgs which does not contain AffectedRows
2: ItemInserted - has DetailsView*Inserted*EventArgs which contains AffectedRows
精彩评论