Posted on 2005-04-27
I have two subroutines, P1 and P2, which each calling the same dataset. But when I run the program I catch an exception at the Data.DataRow that says:
"StackOverflowException was handled
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
-Trouble shooting tips -
Make sure you do not have an infinite loop or infinite recursion."
It is true that P1 and P2 are meant to be discretely recursive (one click for P1, then another for P2), as when one is finished it calls the other, and perform this action back and forth until the process ends. I'm stumped. Any suggestions how to resolve this issue?