bharadwajrv
May 22nd, 2007, 09:27 AM
i know it looks it is a silly question, but really i'm struggling to comment my ASP.net codes (in HTML mode) {not the code-behind syntax)...
Since it is "Runat = Server" is used, commenting using "<!-- -->" has no effect..
any idea, how to comment the ASP HTML code...
Thanks in adv..
Sample code i need to commant is below:
<asp:DataGrid id="DataGrid1" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 56px" runat="server"
Height="40px" Width="328px"></asp:DataGrid>
or
<%# (Container.DataItem)%>
Since it is "Runat = Server" is used, commenting using "<!-- -->" has no effect..
any idea, how to comment the ASP HTML code...
Thanks in adv..
Sample code i need to commant is below:
<asp:DataGrid id="DataGrid1" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 56px" runat="server"
Height="40px" Width="328px"></asp:DataGrid>
or
<%# (Container.DataItem)%>