visual-studio-2010visual-web-developer-2010

Block selection comment for VbScript in Visual Web Developer 2010 Express


How can I comment a selected block in vbscript using Visual Web Developer 2010 Express?

Updated : I meant selecting a block and commenting every line. If I do it in Visual Studio Web Developer 2010 the comment created is for html, not for vbscript.


Solution

  • I was using my code between <% %> only and VS commented my selection as html, but if I use my code in between <script language="vbscript"> </script> and comment selection it works, it comments as vbscript code.