Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900