Re-Bind Datagridview when current row is not active RRS feed

  • Question

  • At datagridview.rowleave event, I would like to update the database and then re-bind the datagridview. The update db part works fine but throw me an error when rebinding. The error is:

    "Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function."

    Anyone knows how to work around it?

    Thanks for any suggestions!!



    Tuesday, November 7, 2006 6:24 PM