Hi everyone,

I am working on a ASP.NET website and would like to use some functions which are part of a separate C# code.

Is it possible to include that .CS file using add items and be able to use the functions.
I tried doing it but the code file behind the asp page is not able to recognize the files included..

Is using the DLL the only possible way for this..?

I feel there needs to be a way of accessing functions present in other code files.. and there has to be something which I am missing here..

Many thanks in advance.

Abhi

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.