使用面板或占位符 [英] Using Panel or PlaceHolder

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

问题描述

之间有什么区别< ASP:面板> < ASP:占位符> 中ASP.NET?

What is the difference between <asp:Panel > and <asp:PlaceHolder > in ASP.NET?

当你应该使用一个比其他?

When should you use one over the other?

推荐答案

一个面板将展开以跨度(或者一个div),它是在它里面的内容。占位符就是这样,这就是通过任何你把它替换的占位符。

A panel expands to a span (or a div), with it's content within it. A placeholder is just that, a placeholder that's replaced by whatever you put in it.

这篇关于使用面板或占位符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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