Get rowid from listview for deleting the row in the database
<p>I am using Custom Adapter to populate a listview which is reading from the database.Here when i do a longpress on a listitem,i want to delete the item from the listview and the database.How to get the rowid to delete that item from the database.</p>

<p>Thanks.</p>
