Hi,
If i have some code like this...
<asp:table>
<asp:tablerow>
<asp:tablecell>
<asp:tablerow>
<asp:tablerow>
<asp:tablecell>
<asp:tablerow>
<asp:table>
What can i do to put one table row in comments, so the code will not
show up when i run the page, just like <!-- --> in ASP. Because <!-- -->
give an error : Literal content ('<!--') is not allowed within a
'System.Web.UI.WebControls.TableRowCollection'.
When i want to do some test i don't want to erase code eache time i make
a test.
<!--
<asp:tablerow>
<asp:tablecell>
<asp:tablerow>
-->
Thank you. 3 2587
didnt' test but try
<!--
//-->
instead of
<!--
-->
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Andre" <lo*****@cablevision.qc.ca> wrote in message
news:OB**************@TK2MSFTNGP09.phx.gbl... Hi,
If i have some code like this...
<asp:table> <asp:tablerow> <asp:tablecell> <asp:tablerow> <asp:tablerow> <asp:tablecell> <asp:tablerow> <asp:table>
What can i do to put one table row in comments, so the code will not show up when i run the page, just like <!-- --> in ASP. Because <!-- --> give an error : Literal content ('<!--') is not allowed within a 'System.Web.UI.WebControls.TableRowCollection'.
When i want to do some test i don't want to erase code eache time i
make a test.
<!-- <asp:tablerow> <asp:tablecell> <asp:tablerow> -->
Thank you.
You need to use the ASP.NET comment delimiter.
<%--
<asp:TableRow>
<asp:TableCell />
</asp:TableRow>
--%>
HTH,
Kyril
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eR**************@TK2MSFTNGP12.phx.gbl... didnt' test but try <!-- //-->
instead of <!-- -->
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Andre" <lo*****@cablevision.qc.ca> wrote in message news:OB**************@TK2MSFTNGP09.phx.gbl... Hi,
If i have some code like this...
<asp:table> <asp:tablerow> <asp:tablecell> <asp:tablerow> <asp:tablerow> <asp:tablecell> <asp:tablerow> <asp:table>
What can i do to put one table row in comments, so the code will not show up when i run the page, just like <!-- --> in ASP. Because <!-- --> give an error : Literal content ('<!--') is not allowed within a 'System.Web.UI.WebControls.TableRowCollection'.
When i want to do some test i don't want to erase code eache time i make a test.
<!-- <asp:tablerow> <asp:tablecell> <asp:tablerow> -->
Thank you.
Tnx, that's perfect.
"Kyril Magnos" <ky**********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... You need to use the ASP.NET comment delimiter.
<%-- <asp:TableRow> <asp:TableCell /> </asp:TableRow> --%>
HTH,
Kyril
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message news:eR**************@TK2MSFTNGP12.phx.gbl... didnt' test but try <!-- //-->
instead of <!-- -->
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Andre" <lo*****@cablevision.qc.ca> wrote in message news:OB**************@TK2MSFTNGP09.phx.gbl... Hi,
If i have some code like this...
<asp:table> <asp:tablerow> <asp:tablecell> <asp:tablerow> <asp:tablerow> <asp:tablecell> <asp:tablerow> <asp:table>
What can i do to put one table row in comments, so the code will
not show up when i run the page, just like <!-- --> in ASP. Because
<!-- --> give an error : Literal content ('<!--') is not allowed within a 'System.Web.UI.WebControls.TableRowCollection'.
When i want to do some test i don't want to erase code eache time i make a test.
<!-- <asp:tablerow> <asp:tablecell> <asp:tablerow> -->
Thank you.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sims |
last post by:
Hi,
I proud myself in having good comments, (/**/, // etc...), all over my
scripts as well as a very descriptive section at the beginning of the
script.
No correct me if i am wrong but php must...
|
by: lkrubner |
last post by:
I've got a PHP application that's 2 megs in size. Of that, my guess is
200k-400k is comments. Do they impose a performance hit? I've been
postponing any kind of optimization, but at some point I'll...
|
by: Uwe Ziegenhagen |
last post by:
Hello,
my fellows and me implement a c++ tool that is able to divide blank/tab
separated files into <number>, <text>, <c-singlelinecomment> and
<multilinecomment>. So far it's not working bad,...
|
by: Benjamin Niemann |
last post by:
Hello,
I've been just investigating IE conditional comments - hiding things from
non-IE/Win browsers is easy, but I wanted to know, if it's possible to hide
code from IE/Win browsers.
I found...
|
by: lorinh |
last post by:
Hi Folks,
I'm trying to strip C/C++ style comments (/* ... */ or // ) from
source code using Python regexps.
If I don't have to worry about comments embedded in strings, it seems
pretty...
|
by: Edward Elliott |
last post by:
At the risk of flogging a dead horse, I'm wondering why Python doesn't have
any multiline comments. One can abuse triple-quotes for that purpose, but
that's obviously not what it's for and doesn't...
|
by: Bob Stearns |
last post by:
Several weeks ago I asked what comments I could pass to DB2 in a SELECT
statement. I don't remember whether I said via PHP/ODBC. I was assured
that both /* */ style comment blocks and -- comment...
|
by: tjb |
last post by:
I often see code like this:
/// <summary>
/// Removes a node.
/// </summary>
/// <param name="node">The node to remove.</param>
public void RemoveNode(Node node) {
<...>
}
|
by: jacob navia |
last post by:
Recently we had poor Mr "teapot" that was horrified at the heresy
of lcc-win of accepting // comments.
C is a nice language, and you can do anything with it, inclusive a
program that transforms...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |