What you need to do is create a new class file. You need to wrap the created class into a namespace.
namespace [Namespace Name] { class YourProgram { [Methods,Properties,& Variables] } }
On each ASP.net page you create, you need to add the namespace to the code behind file.
using [Namespace Name]
More Info: http://www.functionx.com/csharp/Lesson27.htm
You must be logged in to post a comment.
Comments
Leave a comment Trackback