For the love of all that is holy please format your code. Code Syntax Highlighting in Posts
There’s a lot of curly braces that lead to no where please paste all the code formatted or it’s too hard to help. WHat is this second little guy here?
Do not directly loop DB move it ToList()
At what point do you actually save the data for q_xrow with Db.Validate() and txscope.Complete()?