Click here to Skip to main content
16,004,727 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i am working in 3tier project i added 2 another classes in bal class library and when i m going to use these two classes on webapplication side on a websites c# page then both of classes are not accessing on webapplication side and producing error
Posted
Updated 26-Sep-13 21:33pm
v3
Comments
Sergey Alexandrovich Kryukov 27-Sep-13 3:24am    
"Not working" is not informative. You did not tell us anything worth discussing.
—SA
Omprakash Kukana 27-Sep-13 3:29am    
means i cant acess on the website c# page error is this
Error 12 'Bal.Email' is inaccessible due to its protection level E:\bleank team\shoping_cart_in_3_tier\shopingCart\ShopingCart\myprofile.aspx.cs 307 17 ShopingCart
Omprakash Kukana 27-Sep-13 3:30am    
10nx but i solved this here is my class was private dt wasnt public
Sergey Alexandrovich Kryukov 27-Sep-13 9:06am    
Okay...
—SA

1 solution

make the classes(class library's classes) public
like this public class Email
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900