0
Answer

how to a cs file into another cs file and both r in different folder

Ujjwal Das

Ujjwal Das

19y
1.6k
1
Hello all,
In wwwroot folder,I have created project folder(means i am creating a project whoose name is also project and it is web application)  and in between that i have created 2 folder namely admin and connection under that project folder.Under connection folder there is a conn.cs class file of conn class.
and in admin there is index.aspx.now my q is that how can i load this path into index.aspx.cs?


under project folder there is 2 folder admin and connection in a same level.
means both r different folder and i want to load(conn.cs from connection folder) that class in index.aspx.cs( which is under admin folder).I have done "using connection.conn;"under index.aspx.cs.but it shows an error?
How to remove this?
thanks
Ujjwal