is inaccessible due to its protection level

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I get this error: "BusinessDataLayer.SSFEntry is inaccessible due to its protection level", where BusinessDataLayer is the namespace that Ive created in a Class Library as a separate project and SSFEntry is the name of the class within it. So Im trying
to access this "SSFEntry" class in my .aspx.cs page that resides in a separate project. Ive referenced the .dll(BusinessDataLayer) and have declared the class, SSFEntry to be Public. So what causes the problem?

The below code is from the Namespace:-
public class SSFEntry<br/>
{ #region Declare<br/>
<br/>
object
ORetVal....
#endregion
}

The below code is from .aspx.cs file:-
BusinessDataLayer. SSFEntry obj = new BusinessDataLayer.SSFEntry();<br/>

and this the part(Bold and Italicized) where I get the error.
<hr class="sig arun.987

View the full article
 
Back
Top