Comment Out ASP.NET Control

Just like HTML has a way to comment out markup from being displayed by the browser, so does ASP.NET. Below is an example of a commented out ASP.NET tag.

<%-- <asp:Label ID="lblGreeting" runat="server" Text="Hello!"/>--%>
This entry was posted in ASP.NET. Bookmark the permalink.

Comments are closed.