I'm using a gridview in c# and am trying to delete a row. I am using nHibernate with session-per-request. My problem is when I delete and perform a row command I can delete the record in db but when I try to reload the datasource, because the delete hasn't committed yet I seem to be fetching the original data within the same session.
Can someone tell me what the best strategy is to handle this scenario?
Many thanks! Sid