views:

66

answers:

2

why this doesn't work anymore in my web control? it just throws a yellow error without any information about the code line. but just at this page... other errors are visible on other pages, it's enabled in web.config.

strange is I don't know what I have changed but I think before a week that was running.. It seems a problem with:

 private int _value;

regards, thanks.

private int _value;

public int Value
{
    get
    {
        return _value;
    }

    set
    {
        _value = value;
    }
}
+1  A: 

There's nothing wrong with your code. I would try to "clean" your solution and try again. "Clean" is available in the Build Menu.

Gabriel McAdams
+2  A: 

Can't see what's wrong just from that snippet.

strange is I don't know what I have changed but I thinkg before a week that was running

First stop is to look at the diff of changes in source control between now and when you last thought it was working. You do have source control right?...

Paolo
but without this code it works :/
snarebold