↑ Grab this Headline Animator

Sunday, January 18, 2009

Cause of Error - An unhandled exception of type 'System.StackOverflowException' occurred in

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

Check if you have accidentally called same method inside a method with object for the same class.

public class UsersBAL
   public DataTable UserDetails(int UserId,string UserName)
        UsersBAL objUsers = new UsersBAL();
DataTable dtUserDetails = new DataTable();
dtUserDetails = objUsers.UserDetails(UserId, UserName);
return dtUserDetails;


Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.


Latest Articles