| Getting error or unable to call App_Code from code-behind?
Once you are doing with some visual studio version and you have added a App_Code folder and add a class file in it. You will not able to access that class file in your code-behind file. And to visible class file in code-behind you need to do below changes in properties of class files as given in below screen.\
Now right click on class1.cs and go to property section of class file. And you will get below screen
Now change the build action to "Compile" and now run your application your problem will be solved. | | |