contentplaceholder应该使用什么? [英] What should I use for contentplaceholder?

查看:77
本文介绍了contentplaceholder应该使用什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

System.Web.UI.WebControls.TextBox tb = 
(System.Web.UI.WebControls.TextBox)table.Rows[i].Cells[j].FindControl("TextBoxRow_" + i + "Col_" + j);
//Use Request objects for getting the previous data of the dynamic textbox
tb.Text =Request.Form["TextBoxRow_" + i + "Col_" + j];


[改进的易用性]


[Legibility improved]

推荐答案

由于某些原因,我们在母版页上使用了内容占位符:

1.)当我们想要将外观合并到所有页面时,我们将在主页面上构建外观或设计..

2.)在这种情况下,我们在母版页上使用内容占位符工具.

3.)当我们将母版页继承到子页时,我们只能使用内容占位符区域来定位子页的功能.
we use content place holder on master page due to some reason:

1.) when we want to incorporate look to all page then we build this look or design on master page..

2.) in this situation we use a content place holder tool on mater page.

3.) when we inherit the master page to the sub page then we can use only content place holder area to shoe the functionality of the sub page .


这篇关于contentplaceholder应该使用什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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