New Line Character and Databinding to a Repeater

a8le

Well-known member
Joined
Oct 27, 2005
Messages
75
Programming Experience
5-10
Hi all,

I have a wierd problem with binding data to a repeater. For some reason all my "new line characters" are somehow removed on display. The "spaces" are still in there.

My method of binding is:

VB.NET:
Dim objectController as new Controller
Repeater.DataSource = object.Controller(parameter)
Repeater.DataBind

The above code doesn't work right. For example:


VB.NET:
The dog. 
 
And the cat.

Become....

VB.NET:
The Dog. And the cat.

Does anyone know what I could be doing wrong? :confused:

-a8le
 
Back
Top