asp.net - Error in Masterpage -


When I use this code in my master page, it can not be debugged. But before that, I did not use the master page, it worked perfectly. Is there anything wrong with my code? I have kept my code here for your reference. Too much appreciate.

  & lt;% @ page title = "" language = "c #" masterpagefile = "~ / masterpace.masters" autoinwareWireUp = "true" codefile = "User.aspx.cs" inheritance = "Admin_user"%> & Lt; Asp: Content ID = "Content1" content placeholder id = "head" runat = "server" & gt; & Lt; / ASP: Content & gt; & Lt; Asp: Content ID = "Content2" content placeholder ID = "content place holder 4" runat = "server" & gt; & Lt; / ASP: Content & gt; & Lt; ASP: Content ID = "Content 3" content playholder ID = "contentplayholder5" runat = "server" & gt; & Lt; / ASP: Content & gt; & Lt; ASP: Content ID = "Content 4" content placeholderID = "content plasher 1" runat = "server" & gt; & Lt;% @ page title = "" language = "c #" masterpagefile = "~ / masterpagesmaster" autoEventWireUp = "true" codefile = "user.excx cs" inherit = "administrator_user"% & gt; & Lt; Asp: Content ID = "Content1" content placeholder id = "head" runat = "server" & gt; & Lt; / ASP: Content & gt; & Lt; Asp: Content ID = "Content2" content placeholder ID = "content place holder 4" runat = "server" & gt; & Lt; / ASP: Content & gt; & Lt; ASP: Content ID = "Content 3" content playholder ID = "contentplayholder5" runat = "server" & gt; & Lt; / ASP: Content & gt; & Lt; ASP: Content ID = "Content 4" content placeholderID = "content plasher 1" runat = "server" & gt; & Lt; P & gt; This is a list of users in a database. & Lt; / P & gt; & Lt; P & gt; & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Head runat = "server" & gt; & Lt; Title & gt; ASP.N.S. Edit, update, and delete user accounts in the subscription & lt; / Title & gt; & Lt; Style type = "text / css" & gt; .GridviewDiv {font-size: 100%; Font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Ariel, Halevittika, Sense-Serif; Color: # 303933;} table. Grid view {range: solid 1px # df5015;} .graview th th (color: #fffff; border-right-color: #bb09; border-bottom-color: # abb 079; padding: 0.5m 0.5 0.5 degree 0.5m , Text-align: center}. Gridview TD {border-bottom-color: #fffdad; border-right-color: #fffdida; padding: 0.5 a 0.5 a 0.5 0.5m 0.5} art color; background color: white; text Align: left}: link, visited: {color: # DF4F13; text-decoration: none}  gt; & gt; body & gt; body & Lt; form id = "form1" runat = "server" & gt; div class = "gridviewDiv">  gt; & gt; & lt; ASP: Boundfield datedfield = "username" header text = "username" readonly = "true" /> & Lt; ASP: Boundfield datedfield = "email" header text = "email" /> & Lt; / Column & gt; & Lt; / ASP: GridView & gt; & Lt; Asp: Label ID = "lblResult" runat = "server" font-bold = "true" /> & Lt; / Div & gt; & Lt; / Form & gt; & Lt; / Body & gt; & Lt; / Html & gt; & Lt; / P & gt; & Lt; / ASP: Content & gt; & Lt; ASP: content id = "content 5" content placeholder id = "content place holder 3" runat = "server" & gt; & Lt; / ASP: Content & gt;   

Why does it give me an error? I cant figure it out.

I think you

& lt; Form id head

P> I think this is your error, wrong use of place holders. You probably have another form on the master page that breaks one another.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -