Click here to Skip to main content
15,890,670 members
Home / Discussions / C#
   

C#

 
GeneralRe: Howto download a file from http-site Pin
Ariadne6-Nov-05 23:59
Ariadne6-Nov-05 23:59 
GeneralRe: Howto download a file from http-site Pin
Colin Angus Mackay7-Nov-05 1:14
Colin Angus Mackay7-Nov-05 1:14 
AnswerRe: Howto download a file from http-site Pin
Ariadne7-Nov-05 3:00
Ariadne7-Nov-05 3:00 
GeneralRe: Howto download a file from http-site Pin
jkersch7-Nov-05 3:47
jkersch7-Nov-05 3:47 
GeneralRe: Howto download a file from http-site Pin
Ariadne7-Nov-05 4:04
Ariadne7-Nov-05 4:04 
Questionremove the begining of a string Pin
Anthony Mushrow6-Nov-05 22:58
professionalAnthony Mushrow6-Nov-05 22:58 
AnswerRe: remove the begining of a string Pin
User 66586-Nov-05 23:05
User 66586-Nov-05 23:05 
QuestionBreak tags Pin
Brendan Vogt6-Nov-05 22:19
Brendan Vogt6-Nov-05 22:19 
Hi.

I have a textbox and it has been setup to look like a textarea.

When I type in text, something like:

AAAAAAAAAAAAAA
AAAAAAAAAAAAAA

BBBBBBBBBBBBBB
BBBBBBBBBBBBBB

CCCCCCCCCCCCCC
CCCCCCCCCCCCCC

I have an insert button and I add it the database. When I display it on a page, then it all looks like:

AAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCC

How do I code it so that it displays the break tags on the aspx page? In classic ASP I did it as follows:

Replace(objRs("Description"), Chr(10), Chr(10) & "&nbsp;<br>")

I just need to know how to do this in C#, or if there is a better way to do it.

Regards,
ma se
AnswerRe: Break tags Pin
Colin Angus Mackay6-Nov-05 23:42
Colin Angus Mackay6-Nov-05 23:42 
QuestionRe: Break tags Pin
Brendan Vogt9-Nov-05 20:41
Brendan Vogt9-Nov-05 20:41 
AnswerRe: Break tags Pin
Colin Angus Mackay9-Nov-05 22:04
Colin Angus Mackay9-Nov-05 22:04 
QuestionDynamic XMLcreation Pin
hellamasta6-Nov-05 21:26
hellamasta6-Nov-05 21:26 
AnswerRe: Dynamic XMLcreation Pin
Corinna John6-Nov-05 21:44
Corinna John6-Nov-05 21:44 
GeneralRe: Dynamic XMLcreation Pin
hellamasta7-Nov-05 20:55
hellamasta7-Nov-05 20:55 
GeneralRe: Dynamic XMLcreation Pin
Corinna John8-Nov-05 0:51
Corinna John8-Nov-05 0:51 
QuestionProblem in inserting data from DataGrid ( winforms ) Pin
Ripper_16-Nov-05 21:17
Ripper_16-Nov-05 21:17 
Questionseveral windows vs modal dialog Pin
koruyucu6-Nov-05 21:17
koruyucu6-Nov-05 21:17 
AnswerRe: several windows vs modal dialog Pin
Corinna John6-Nov-05 21:48
Corinna John6-Nov-05 21:48 
GeneralRe: several windows vs modal dialog Pin
koruyucu6-Nov-05 21:55
koruyucu6-Nov-05 21:55 
QuestionWeb Setup project Pin
manojk_batra6-Nov-05 20:06
manojk_batra6-Nov-05 20:06 
QuestionArray and ArrayList Pin
webC#6-Nov-05 20:01
webC#6-Nov-05 20:01 
AnswerRe: Array and ArrayList Pin
azazel006-Nov-05 20:24
azazel006-Nov-05 20:24 
GeneralRe: Array and ArrayList Pin
J4amieC6-Nov-05 21:48
J4amieC6-Nov-05 21:48 
Questionsocket connection problems Pin
g00fyman6-Nov-05 19:28
g00fyman6-Nov-05 19:28 
AnswerRe: socket connection problems Pin
g00fyman6-Nov-05 19:39
g00fyman6-Nov-05 19:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.