i am developing web application using C# and asp.net. i want to put some codes in classes so that i can call these when necessary. example let's i have to files, called register.aspx and register.cs
now i want to store the register.cs codes in classes, so that i can call it when i use it? how to do that?
please redirect me to good sources and give sample code of this.
regards