asp.net等同于好的旧包含文件 [英] asp.net equivilant to good old include files

查看:97
本文介绍了asp.net等同于好的旧包含文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在寻找ASP包含文件的asp.net。

将构建一个常用的,常用的页面部分,如页眉,页脚

等...


我们有3-4个开发人员,所以理想情况下,代码/ html需要来自一个

普通

的地方。


任何建议指出我正确的方向将不胜感激。


谢谢!

西蒙。

-

我正在为私人用户使用SPAMfighter的免费版本。

它迄今已删除了2036封垃圾邮件。

付费用户没有这封邮件在他们的电子邮件中。

尝试 www.SPAMfighter.com 现在免费!

Hi All,

I am looking for the asp.net equiv'' to ASP include files. Something which
will build common, much used parts of a page, such as header, footer
etc...

We have 3-4 developers, so ideally the code/html needs to come from a
common
place in the first instance.

Any suggestions to point me in the right direction will be appreciated.

Thanks!
Simon.
--
I am using the free version of SPAMfighter for private users.
It has removed 2036 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!

推荐答案

" Simon Harris" <到*********** @ makes-you-fat.com>新闻中写道:#
0j *********** **@TK2MSFTNGP15.phx.gbl
"Simon Harris" <to***********@makes-you-fat.com> wrote in news:#
0j*************@TK2MSFTNGP15.phx.gbl:
大家好,

我正在寻找ASP包含的asp.net文件。
将构建页面常用的,常用的部分,如页眉,页脚等等...


看看Paul Wilson''用于ASP.NET 1.1的MasterPages。 ASP.NET 2.0将支持
内置MasterPages。


我们有3-4个开发人员,所以理想情况下代码/ html需要来自一个/>普通
在第一时间放置。

任何建议指出我正确的方向将不胜感激。
Hi All,

I am looking for the asp.net equiv'' to ASP include files. Something which
will build common, much used parts of a page, such as header, footer
etc...
Take a look at Paul Wilson''s MasterPages for ASP.NET 1.1. ASP.NET 2.0 will
have MasterPages built in.

We have 3-4 developers, so ideally the code/html needs to come from a
common
place in the first instance.

Any suggestions to point me in the right direction will be appreciated.



或者你考虑过使用用户控件?或者建立

可再分发的库,开发者可以共享?


-

Lucas Tam(RE ****** **@rogers.com)

请删除删除来自回复时的电子邮件地址。
http://成员。 ebay.com/aboutme/coolspot18/


如果是想要分享的内容列表,你总是可以建立一个类
$ b文件或页面之间的$ b,例如:


公共类Whatever_Class {}


然后在你要调用的类页面上你可以使用说:

Whatever_Class.Method或whatever_Class.Property或者你有什么。


" Simon Harris"写道:
You could always build a class if it is a list of constents you want to share
between files or pages such as:

public class Whatever_Class{}

then on pages you want to call the class you can use say:
Whatever_Class.Method or whatever_Class.Property or what have you.

"Simon Harris" wrote:
大家好,

我正在寻找ASP包含文件的asp.net。
将构建页面中常用的,常用的部分,如页眉,页脚等等......

我们有3-4个开发人员,所以理想情况下代码/ html首先需要来自一个常见的地方。

任何能指出正确方向的建议都将受到赞赏。

谢谢!
Simon。

-
我正在为私人用户使用免费版SPAMfighter。
迄今为止已删除了2036封垃圾邮件。
付费用户的电子邮件中没有此消息。
尝试 www.SPAMfighter.com 现在免费!
Hi All,

I am looking for the asp.net equiv'' to ASP include files. Something which
will build common, much used parts of a page, such as header, footer
etc...

We have 3-4 developers, so ideally the code/html needs to come from a
common
place in the first instance.

Any suggestions to point me in the right direction will be appreciated.

Thanks!
Simon.
--
I am using the free version of SPAMfighter for private users.
It has removed 2036 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!



使用驻留在ASCX文件中的UserControl。这些外观和感觉就像服务器

一样包含,但在ASP.NET中效率更高。


-Brock

DevelopMentor
http://staff.develop.com/ballen
Use UserControls which reside in ASCX files. These look and feel like server
side includes, but in ASP.NET are much more efficient.

-Brock
DevelopMentor
http://staff.develop.com/ballen
大家好,

我正在寻找ASP包含文件的asp.net。什么东西
将构建一个常用的,常用的页面部分,如标题,页脚等...

我们有3-4个开发人员,所以理想情况下代码/ html首先需要来自一个常见的地方。
任何指向正确方向的建议都将受到赞赏。

谢谢!
Simon。
-
我正在为私人用户使用免费版SPAMfighter。
迄今已删除了2036封垃圾邮件。
付费用户做在他们的电子邮件中没有此消息。
免费试用 www.SPAMfighter.com 现在!






这篇关于asp.net等同于好的旧包含文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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