Updating database table from datagridview VB.NET 2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srj115
    New Member
    • Sep 2007
    • 9

    Updating database table from datagridview VB.NET 2005

    This is just something that had me tearing out my nose hairs in frustration... hypothetically. I must have spent 7 or 8 hours trying to get this to work before I smelled the coffee (so to speak). Now, all I'm missing is my pride.

    The issue: Debugging my form to get the bound datagridview to update the backend database table. After running the app in the debugger, none of the changes I made to the table in the datagridview were being saved to the backend database table.

    The reason: The database isn't updated because it's being hosted (vshost.exe) in the debugger. Building and running the app (outside the debugger) allowed the changes to be made to the database table.

    Just thought I'd share, and hopefully save others from such masochism.

    Any suggestions for allowing changes to the database in the debugger would be appreciated!
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Question moved to .NET Forum.

    Comment

    Working...