在ASP.NET中使用dll用户控件 [英] Using a dll user control in ASP.NET

查看:83
本文介绍了在ASP.NET中使用dll用户控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找最好的方法来使这个函数成为一个dll用户

控件在ASP.NET页面中。我一直无法找到任何特定的内容

演示如何实现这一目标。


Mike

I''m looking for the best way to make se of the function is a dll user
control in an ASP.NET page. I''ve been unable to find anything specific to
demonstrate how this can be achieved.

Mike

推荐答案

请问您能用更易懂的术语询问吗?


什么是dll用户控件?你是什​​么意思最好的方式来制作功能我[n] dll用户控制功能?


使用锤子的最佳方法是用它锤击钉子。最好的

使用任何工具的方法是将它用于它的设计目的。


-

HTH,

Kevin Spencer

..Net开发人员

微软MVP

重大事项组成
很多小东西。


" Mike Street" <弥*** @ jBASE.com>在消息中写道

新闻:#7 ************** @ TK2MSFTNGP11.phx.gbl ...
Could you ask that in more understandable terms, please?

What is "a dll user control?" And what do you mean by "the best way to make
[u]se of the function i[n] a dll user control"?

The best way to make use of a hammer is to hammer nails with it. The best
way to make use of any tool is to use it for what it is designed for.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Mike Street" <Mi***@jBASE.com> wrote in message
news:#7**************@TK2MSFTNGP11.phx.gbl...
我是寻找制作函数的最佳方法是在ASP.NET页面中控制一个dll用户。我一直无法找到具体的内容来证明如何实现这一目标。

迈克
I''m looking for the best way to make se of the function is a dll user
control in an ASP.NET page. I''ve been unable to find anything specific to
demonstrate how this can be achieved.

Mike


Kevin,

我有一个.NET dll,我通常会在VB.NET应用程序中使用它。

它为我提供了一套类和函数我可以用来连接到

后端服务器。我希望能够在ASP.NET页面中使用相同的类和

函数。


在ASP页面中,我会使用CreateObject()函数来使用等效COM对象中的

类。


Mike


凯文斯宾塞 < KS ****** @ takempis.com>在留言中写道

新闻:%2 **************** @ tk2msftngp13.phx.gbl ...
Kevin,
I''ve got a .NET dll which I would normally use within a VB.NET application.
It provides me with a set of classes and functions I can use to connect to a
back-end server. I''d like to be able to make use of those same classes and
functions in an ASP.NET page.

In an ASP page I would use the CreateObject() function to make use of the
classes in the equivalent COM object.

Mike

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
你能不能请问更可理解的术语?

什么是dll用户控件?你是什​​么意思最好的方式来实现你的[d]用户控制功能?

最好的办法利用锤子就是用它锤钉。使用任何工具的最佳方式是将其用于其设计目的。

-
HTH,
Kevin Spencer
.Net开发人员
微软MVP
很多小东西组成了很多东西。

迈克街 <弥*** @ jBASE.com>在消息中写道
新闻:#7 ************** @ TK2MSFTNGP11.phx.gbl ...
Could you ask that in more understandable terms, please?

What is "a dll user control?" And what do you mean by "the best way to
make
[u]se of the function i[n] a dll user control"?

The best way to make use of a hammer is to hammer nails with it. The best
way to make use of any tool is to use it for what it is designed for.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Mike Street" <Mi***@jBASE.com> wrote in message
news:#7**************@TK2MSFTNGP11.phx.gbl...
我正在寻找最好的制作该函数的方法是在ASP.NET页面中控制一个dll用户。我一直无法找到具体的内容来证明如何实现这一目标。

迈克
I''m looking for the best way to make se of the function is a dll user
control in an ASP.NET page. I''ve been unable to find anything specific to
demonstrate how this can be achieved.

Mike



好的,迈克。你拥有的不是控制 - ASP.Net中的一个控件是一个

类,用于呈现UI。这听起来像你有一个类库。

如果是这样,你需要做的就是创建一个DLL的引用,并使用它像

任何其他.Net DLL(如内置的System.DLL,System.Web.DLL等)。


-

HTH,< br $>
Kevin Spencer

..Net开发人员

微软MVP

大件物品组成
$ b很多小东西都是$ b。


"迈克街&# <弥*** @ jBASE.com>在消息中写道

新闻:#q ************** @ TK2MSFTNGP09.phx.gbl ...
Okay, Mike. What you have is not a "Control" - a Control in ASP.Net is a
class which renders UI. It sounds like what you''ve got is a Class Library.
If so, all you need to do is create a reference to the DLL, and use it like
any other .Net DLL (Such as the built-in System.DLL, System.Web.DLL, etc).

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Mike Street" <Mi***@jBASE.com> wrote in message
news:#q**************@TK2MSFTNGP09.phx.gbl...
Kevin,应用程序中使用它。它为我提供了一组类和函数,我可以使用它来连接到
后端服务器。我希望能够在ASP.NET页面中使用相同的类和
函数。

在ASP页面中,我将使用CreateObject()函数来制作在等效的COM对象中使用
类。

Mike

" Kevin Spencer" < KS ****** @ takempis.com>在消息中写道
新闻:%2 **************** @ tk2msftngp13.phx.gbl ...
Kevin,
I''ve got a .NET dll which I would normally use within a VB.NET application. It provides me with a set of classes and functions I can use to connect to a back-end server. I''d like to be able to make use of those same classes and
functions in an ASP.NET page.

In an ASP page I would use the CreateObject() function to make use of the
classes in the equivalent COM object.

Mike

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
你能问更多吗?可理解的术语,请?

什么是dll用户控件?你是什​​么意思最好的方式来实现你的[d]用户控制功能?

最好的办法利用锤子就是用它锤钉。
使用任何工具的最佳方式是将其用于它的设计目的。

-
HTH,
Kevin Spencer
.Net开发人员
微软MVP
很多小东西组成了很多东西。

迈克街 <弥*** @ jBASE.com>在消息中写道
新闻:#7 ************** @ TK2MSFTNGP11.phx.gbl ...
Could you ask that in more understandable terms, please?

What is "a dll user control?" And what do you mean by "the best way to
make
[u]se of the function i[n] a dll user control"?

The best way to make use of a hammer is to hammer nails with it. The best way to make use of any tool is to use it for what it is designed for.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Mike Street" <Mi***@jBASE.com> wrote in message
news:#7**************@TK2MSFTNGP11.phx.gbl...
我正在寻找最好的制作该函数的方法是在ASP.NET页面中控制一个dll用户。我一直无法找到任何特定的
来证明如何实现这一目标。

Mike
I''m looking for the best way to make se of the function is a dll user
control in an ASP.NET page. I''ve been unable to find anything specific to demonstrate how this can be achieved.

Mike




这篇关于在ASP.NET中使用dll用户控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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