Here is a list view that is bound to a object dataset, which has only one column “ACTIVE” and it’s a bit field.
1 | <asp:ListView |
I had to update the ItemInserting event in the code behind
1 | Protected Sub lv_ItemInserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewInsertEventArgs) Handles lv.ItemInserting |
Item Updating has a method of it’s own - Actually the ODS
1 | Protected Sub ods_tblAssetType_StatusCode_Def_Updating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceMethodEventArgs) Handles ods_tblAssetType_StatusCode_Def.Updating |