使用自定义命名空 [英] using custom namespace.

查看:98
本文介绍了使用自定义命名空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我是asp.net的新手,我一直在网上和书中搜索

如何使用自定义命名空间。我创建了自己的自定义命名空间,而且我需要直接回答命名空间文件的位置,这样我就可以在网页中导入它们。有人可以澄清吗?谢谢。

Hi. I''m new to asp.net and I''ve been searching on the net and in book on
how to use custom namespace. I''ve created my own custom namespace and I
just need a straight answer on where to put the namespace file so I can
import them in the webpage. Can someone clarify? Thanks.

推荐答案




如果(你在一个自定义命名空间中创建一个不同的项目)

{

...添加项目参考...

只需导入类顶级的命名空间... 。

}

else if(你在同一个项目中创建了自定义命名空间)

{

开始使用它, ...具有完全合格的

名称或导入....在班级顶部...

}

谢谢

Masudur


cykill写道:
Hi,

If (you create a custom namespace in a different project)
{
... add the project reference...
And just import the namespace top of the class....
}
else if (you created custom namespace in same project)
{
start using it,... with full qualified
name or import.... in top of the class...
}
Thanks
Masudur

cykill wrote:

嗨。我是asp.net的新手,我一直在网上和书中搜索

如何使用自定义命名空间。我创建了自己的自定义命名空间,而且我需要直接回答命名空间文件的位置,这样我就可以在网页中导入它们。有人可以澄清吗?谢谢。
Hi. I''m new to asp.net and I''ve been searching on the net and in book on
how to use custom namespace. I''ve created my own custom namespace and I
just need a straight answer on where to put the namespace file so I can
import them in the webpage. Can someone clarify? Thanks.


但是我在哪里放置命名空间文件?我正在使用记事本作为我的编辑。

我正在创建每个单独的asp页面并将它们全部放在一个文件夹中。我把b $ b把它放在wwwroot文件夹中吗?谢谢。



Sun,2006年12月24日21:58:32 -0800,Masudur写道:
But where do I put the namespace files? I''m using notepad as my editor.
I''m creating each individual asp page and put them all in a folder. do i
put it in the wwwroot folder? Thanks.


Sun, 24 Dec 2006 21:58:32 -0800, Masudur wrote:




如果(你在另一个项目中创建一个自定义命名空间){

...添加项目参考...

只需导入类顶部的命名空间....

}

else if(你在同一个项目中创建了自定义命名空间){

开始使用它,...具有完全限定名称或导入....在

顶部... ...

}


谢谢

Masudur


cykill写道:
Hi,

If (you create a custom namespace in a different project) {
... add the project reference...
And just import the namespace top of the class....
}
else if (you created custom namespace in same project) {
start using it,... with full qualified name or import.... in top of
the class...
}
Thanks
Masudur

cykill wrote:

>你好。我是asp.net的新手,我一直在网上搜索关于如何使用自定义命名空间的书。我已经创建了自己的自定义命名空间
我只需要直接回答命名空间文件的位置,以便我可以在网页中导入它们。有人可以澄清吗?谢谢。
>Hi. I''m new to asp.net and I''ve been searching on the net and in book
on how to use custom namespace. I''ve created my own custom namespace
and I just need a straight answer on where to put the namespace file so
I can import them in the webpage. Can someone clarify? Thanks.


" cykill" < il ******* @ spam.netwrote in message

news:pa *********************** ***** @ spam.net ...
"cykill" <il*******@spam.netwrote in message
news:pa****************************@spam.net...

但是我在哪里放置命名空间文件?
But where do I put the namespace files?



命名空间文件是什么意思?什么文件你在说什么?b $ b在这里......?

What do you mean by "the namespace files"? What "files" are you talking
about here...?


这篇关于使用自定义命名空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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