problem with < br /> in < td > < /td >
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
here is my code :
row\["ReductionDetails"\] = row\["ReductionDetails"\] + "" + Value + "% of " + GetProductNameById(ProductId) + **'\\n'**;
what i want to get : < td > MY FIRST LINE MY SECOND LINE < /td > there is no result with : '\n' and what i got : MY FIRST LINEMY SECOND LINE i tried the "< br / >" and what i got : MY FIRST LINE < br / >MY SECOND LINE
-
here is my code :
row\["ReductionDetails"\] = row\["ReductionDetails"\] + "" + Value + "% of " + GetProductNameById(ProductId) + **'\\n'**;
what i want to get : < td > MY FIRST LINE MY SECOND LINE < /td > there is no result with : '\n' and what i got : MY FIRST LINEMY SECOND LINE i tried the "< br / >" and what i got : MY FIRST LINE < br / >MY SECOND LINE
\n is a waste of time in a website. If the br tag is shown then it's being escaped.
Christian Graus Driven to the arms of OSX by Vista.