Problems during uploading website
I have developed a website using asp.net 2.0 when i have uploaded it on web sever i am not able to access functions and classes defined in the class file in app_code folder
6 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Suthish NairRank #92 · 22.8K reputationPosted Apr 6, 2011, 8:57 AM EDT
kalpa vachhani30 reputationPosted Apr 6, 2011, 7:30 PM EDT
Karthikeyan AnbarasanRank #71 · 25.5K reputationPosted Apr 6, 2011, 7:57 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Apr 7, 2011, 9:51 AM EDT
kalpa vachhani30 reputationPosted Apr 8, 2011, 5:11 AM EDT
Then how can i create it.
Suthish NairRank #92 · 22.8K reputationPosted Apr 8, 2011, 6:06 AM EDT
You have a class named ClassFunction.cs in App_Code.
Now you want to call this in one of your .aspx code behind.
ClassFunction objCF = new ClassFunction();
objCF.Method1();
objCF = null;