Is there any way to add .aspx page with controls and code to class library..?
No. Class Library is not meant for Web Development.
.aspx (Presentation Layer) is for displaying the Data. In Class Library Project where you can add your Business and Data code.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.