Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
How to use one code library into another library?
February 14, 2011
I have create one solution in which i have added two project (say project 1 and project 2)which are both class library.I want to access the method of Project 2 into project 1.I have added reference of project 2 into project 1.I have add the Name space also in project 1.But when i create the object and want to access the method it does not show any method.
which way i solve this problem ?
Thanks in advance.
Posted Date: February 14, 2011 Points: 5
following is my classlibrary2 code:
public class Class1
and then project reference to the classlibrary 1 and following is the code
public class Class1
ClassLibrary2.Class1 objcls1 = new ClassLibrary2.Class1();
To post reply
Related Questions Related Questions
sharepoint document library folder as webpart
Access only to subfolder in SharePoint doc library
How to send email with attachment when I save new word document in document library
hot to convert string to integer without using library functions?
Document Library in MOSS 2007
Updating item in sharepoint document library
Read Excel from sharepoint library using excel service
What is Code Access Security in .NET
protection in C#.NET source code
Latest Forum Questions From The Same Category
How to display the text in the second ck editor with strikes while extracting from database
Mail is working but I want send two excel file to each different person
how to display child nodes with headers and keeping the child nodes in a table
In DataGrid I have Two Dropdownlist, One in Header template and Item Template
Display data directly from database table to PDF using stored procedures in asp.net C#
How to install and use Dev Express ?
Dialogbox Custom Control
Custom Control in Winforms
I just started learning c#.net console application
How to read csv file which have many special character and tabs?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend