DataGridView returns “Operation cannot be performed in this event handler” on .Rows.Clear() in VB.net
I’ve been writing a database application to go with a personal project, and given my self-taught coding experience I’m surprised I’ve gotten as far as I have. Decades ago, I coded dBase/Clipper, then did fairly well with VB6 at a borderline moderate level, and ceased coding altogether till now. I came back to it out of need, finding myself working with VB.net (2022), which I needn’t say is very different from VB6, and SQLite. I’ve picked up VB.net fairly well and have been able to resolve most of my coding problems unaided. But now I have one issue that has me stumped: