I want to import a class that is in App_Code to use it in my aspx pages.
How can I do it ?
Thanks
Add the namespace you used to your codebehind file or aspx file(if not using code behind).
using YourNamespace; //C#
imports YourNamespace //VB
or if not using codebehind
<%@ Import Namespace="YourNamespace" %>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With