Click here to Skip to main content
14,331,130 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi Friends

Am getting below error. am getting this error at creation of my variable like this datatable dt=new datatable();


"An unhandled exception of type 'System.StackOverflowException' occurred in System.Data.dll"

please help me
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Typically this exception happens because of a recursion. Check that the code isn't called recursively (the code calls itself).

If you cannot find the cause, post the code or at least relevant parts of it.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100