Error with user control

Posts   
 
    
asowles
User
Posts: 46
Joined: 23-Apr-2008
# Posted on: 31-Mar-2009 04:27:44   

I have a strange problem. I have a user control that has some code behind it that retrieves the list of Department Entities and displays them. When I try to add this user control to my form, Visual Studio throws an error (attached) saying that the "ConnectionString property has not been initialized". I can't figure out why this is doing this.

I figured out that I could take any code that calls LLBLGen stuff out of the constructor and the load event and get the control on to the form, but if there is anything in either of those, it throws this error.

Any ideas what causes this?

Allen

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 31-Mar-2009 05:33:17   
David Elizondo | LLBLGen Support Team