Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
101 Points
29 Posts
May 23, 2008 09:45 PM|LINK
You've declared it, but you haven't assigned a value to it or instantiated it.
hhDbRoleProvider roleProvider = new hhDbRoleProvider();
Or whatever constructor or method you have of instantiating hhDbRoleProvider.
Also, just out of curiosity, why are you creating your own role provider instead of just using the one that comes with ASP.NET?
Daniel Schaf...
Member
101 Points
29 Posts
Re: Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<xxx>' to 'System.Colle...
May 23, 2008 09:45 PM|LINK
You've declared it, but you haven't assigned a value to it or instantiated it.
hhDbRoleProvider roleProvider = new hhDbRoleProvider();
Or whatever constructor or method you have of instantiating hhDbRoleProvider.
Also, just out of curiosity, why are you creating your own role provider instead of just using the one that comes with ASP.NET?