ggeorgiou01
Programmer
Hi all,
I have a form with a description field on it. This description field is a "ASP textbox", and it saves away into the database with a data type of "TEXT".
My problem is:
for example if i was to enter the following
___________________________________
hello
I want this to be on a new line.
___________________________________
when i come to actually displaying my results from the database into a repeater using the following code:
<%# DataBinder.Eval(Container, "DataItem.Description") %>
it displays the results as this:
___________________________________
hello I want this to be on a new line.
___________________________________
How do i keep the carriage returns ? is this possible ?
I have a form with a description field on it. This description field is a "ASP textbox", and it saves away into the database with a data type of "TEXT".
My problem is:
for example if i was to enter the following
___________________________________
hello
I want this to be on a new line.
___________________________________
when i come to actually displaying my results from the database into a repeater using the following code:
<%# DataBinder.Eval(Container, "DataItem.Description") %>
it displays the results as this:
___________________________________
hello I want this to be on a new line.
___________________________________
How do i keep the carriage returns ? is this possible ?