如何将我们自己创建的母版页添加到Web
问题描述:
我创建了一个母版页,然后创建了一个aspx页.在aspx页中它包含一些html内容.因此如何将母版页附加到该aspx页上.由于我是.net的新手,请告诉我一些简单的方法解决方案的基本步骤.
I have created a masterpage.And after that i have created an aspx page .In the aspx page it has some html content.So how attach masterpage to that aspx page.As i am new to .net please tell me some simple basic steps to solve it.
答
如果您已使用母版页,则应在其中具有ContentPlaceHolder.右键单击它,您将获得添加内容".页面",单击该按钮.然后您将得到答案
If you have used Master Page, then you should have ContentPlaceHolder in it.. Right click on it, you will get "Add Content Page", Click on that.. And you will get your answer