Right quick one for you all (hopefully.....)
I've got my Fantasy Footy site done in asp.net (vb.net code behind).
One of the features is a 'mini message board' where me and the guys have some banter. The user enters the code via a multi line text box. This is then written to a Char type field in the SQL database (i'm sure it's char, if not it's text.). When I look at the entry in the SQL database I see it how it was typed eg:
'Hello
This is a post in Goldy's message board for his football site.
Wow! isn't he good!'
However when I call the entry back to be displayed in a Datagrid I get the following returned:
'Hello This is a post in Goldy's message board for his football site. Wow! isn't he good!'
As you can see I am missing the carrige returns..... The only way around this is to actually input HTML tags when creating the message such as.HTML Code:<p>, <br> etc...
I am sure this is just some sort of formatting issue?
I have another problem with binding data to a label, but i'll sort this one first
Social Networking Bookmarks