I have an asp:listView which displays some IEnumerable objects supplied by a stored procedure from the DB.
How is it possible to delete each entry with the help of a button? i.e: if you click on a row you get the option to delete it.
In the options, Editing, Inserting, Deleting are grayed out and cannot be selected.
i think they might be grayed out because you are not directly connection the listview to the database.
You should be able to get the selected item (or items) from the listview and if they have some sort of ID field stored in a property you can delete it from the object supplier, call delete to the database and then delete it from the listview.