我如何制作dll并将其用作代码 [英] how can i make dll and use it as code

查看:84
本文介绍了我如何制作dll并将其用作代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net C#中创建了一个用户控件

现在我要在制作该代码的DLL之后在我的项目中使用...

我想创建我的用户控件的dll,并希望使用该dll

那我该怎么办...
与dll工作相关的m个新问题
帮助....

谢谢advance

i create one user control in asp.net C#

now i want use in my project after making DLL of that code...

i want to create dll of my user control and want use of that dll

then how can i do...
m new related to dll work
help....

thanks advance

推荐答案


看到此链接将对您有所帮助
http://stackoverflow.com/questions/4391212/generating-a-dll- -a-web-usercontrol [ ^ ]
http://msdn.microsoft.com/en-us/library/aa479318.aspx [ ^ ]

祝你好运
编码愉快
Hi,
see this links it will help u
http://stackoverflow.com/questions/4391212/generating-a-dll-of-a-web-usercontrol[^]
http://msdn.microsoft.com/en-us/library/aa479318.aspx[^]

Best Luck
Happy coding


我认为您可以做的是制作一个Server控件.服务器控件将以DLL的形式可用.
I think what you can do is to make a Server control. Server control will be a usable in form of DLL.


有许多方法可以在您依赖于您的应用程序中访问您的.dll. 据我说,如果您在本地主机上工作,那么您只需要添加.dll路径的引用并调用它即可!!要获得更简单的方法,只需点击链接即可.
http://www.codegolem.com/post/UserControl-as-a- DLL-made-easy.aspx [ ^ ]
there are many ways to access your .dll in ur application it depends on u..!
According me if u r working on localhost machine then u have to just add reference of the .dll path and call it...! for more easiest way just follow the link......
http://www.codegolem.com/post/UserControl-as-a-DLL-made-easy.aspx[^]


这篇关于我如何制作dll并将其用作代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆