Versions des environnements
>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement