Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class problem
Message
From
17/05/2008 11:42:53
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316773
Message ID:
01317856
Views:
10
>>Hi,
>>You seem confused as to the differences between assemblies, projects and classes.
>>
>>An assembly is a collection of DLL/EXES. Each DLL/EXE is the result of compiling a project. If you add .CS files to a project then any classes defined in the .CS files will be accessible through the resulting compiled file.
>>
>>HTH,
>>Viv
>
>Viv,
>
>I want to be able to use my new class in my ASPX pages. How can I do that? In other words, I'd like to be able to have this visual class on the toolbox and be able to drag it to the ASPX page.
>
>It seems to me that the only way is to have this class inside a separate project, compile it into the dll (assembly) and then use it this way.
>
>Or do you have better suggestions, because I really would love to be able to use it without an extra project.

Hi,
It's probably better design to keep classes like this in a seperate project so that they are more easily reusable. But if you do want to define it in the same project as the ASPX pages you should still be able to make it accessible from the toolbox. What problems are you having?
Regards,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform