Comment out in ASP.net

  • Thread starter Thread starter Hai Nguyen
  • Start date Start date
H

Hai Nguyen

I want to comment out a piece of code in my asp.net (there is C# code
behind)

I can comment out with C# but not with asp.net

Please advice

Thanks
 
Check out the help file for C# Preprocessor Directives
to learn how to 'comment' out code at run-time.

At design-time we use // as comments in the .cs file
and HTML comments <!-- --> in the .aspx file.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

LaGarde StoreFront 5 Affiliate: e-Commerce Solutions
SEE: http://www.storefront.net/default.asp?REFERER=-201499070
 
// single line comment

/*
multiline comment
*/

<!--- comment ---> html comment

is that what your after?
 
Back
Top