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

C#

 
AnswerRe: How to access a variable from other main form Pin
nelsonpaixao30-Sep-08 13:37
nelsonpaixao30-Sep-08 13:37 
QuestionHow to replace a string ($TITLE$) from html file ? Pin
DJ24529-Sep-08 23:09
DJ24529-Sep-08 23:09 
AnswerRe: How to replace a string ($TITLE$) from html file ? Pin
Maximilian Mayerl29-Sep-08 23:13
Maximilian Mayerl29-Sep-08 23:13 
QuestionNumber to Words Pin
cse.vidhya29-Sep-08 23:06
cse.vidhya29-Sep-08 23:06 
AnswerRe: Number to Words Pin
leppie29-Sep-08 23:32
leppie29-Sep-08 23:32 
AnswerRe: Number to Words Pin
Hum Dum30-Sep-08 0:30
Hum Dum30-Sep-08 0:30 
QuestionRegister remote object in Web.config Pin
Dextter29-Sep-08 23:03
Dextter29-Sep-08 23:03 
QuestionString Manipulation - Replace function Pin
omlac29-Sep-08 22:54
omlac29-Sep-08 22:54 
Good day all
I have got a string in c# as shown below, and i want to find and replace a substring within the string with another string.

here is the original string:
mystring = "Testing Image Embading
\r\n
\r\nEmage Embabeded here\r\n"

my string replace function:
mystring = mystring.Replace("src=\"/Web%20Cleint"/"Home%20Page"/"Images"/"Stop.png\","src=cid:companylogo");

My problem: is im have difficulties in handling escape characters, i keep getting the error "; missing" or newline in constant.
does anyone know i can solve this or help me with links on how to solve this.

Please note im working with web application.


AnswerRe: String Manipulation - Replace function Pin
Giorgi Dalakishvili29-Sep-08 23:03
mentorGiorgi Dalakishvili29-Sep-08 23:03 
QuestionHow to Handle RollBack event in Setup and Deployment on VS2008 Pin
am 200929-Sep-08 22:43
am 200929-Sep-08 22:43 
QuestionGetting problem in C# Pin
bishwajeet29-Sep-08 22:30
bishwajeet29-Sep-08 22:30 
AnswerRe: Getting problem in C# Pin
Pete O'Hanlon30-Sep-08 2:07
mvePete O'Hanlon30-Sep-08 2:07 
GeneralRe: Getting problem in C# Pin
bishwajeet13-Oct-08 20:01
bishwajeet13-Oct-08 20:01 
QuestionCrystal Reports Problem Pin
Hossein Afyuoni29-Sep-08 22:28
Hossein Afyuoni29-Sep-08 22:28 
AnswerRe: Crystal Reports Problem Pin
Muhammad Shahid Farooq30-Sep-08 4:34
professionalMuhammad Shahid Farooq30-Sep-08 4:34 
GeneralRe: Crystal Reports Problem Pin
Hossein Afyuoni4-Oct-08 22:41
Hossein Afyuoni4-Oct-08 22:41 
QuestionC# and Unix Pin
Mbu00729-Sep-08 22:17
Mbu00729-Sep-08 22:17 
AnswerRe: C# and Unix Pin
Giorgi Dalakishvili29-Sep-08 22:25
mentorGiorgi Dalakishvili29-Sep-08 22:25 
GeneralRe: C# and Unix Pin
Mbulelo29-Sep-08 22:34
Mbulelo29-Sep-08 22:34 
GeneralRe: C# and Unix Pin
Giorgi Dalakishvili29-Sep-08 22:37
mentorGiorgi Dalakishvili29-Sep-08 22:37 
GeneralRe: C# and Unix Pin
Mbu00729-Sep-08 23:03
Mbu00729-Sep-08 23:03 
GeneralRe: C# and Unix Pin
Giorgi Dalakishvili29-Sep-08 23:04
mentorGiorgi Dalakishvili29-Sep-08 23:04 
QuestionDisabling an unbound DataGridViewCell Pin
David Fleming29-Sep-08 22:14
David Fleming29-Sep-08 22:14 
GeneralRe: Disabling an unbound DataGridViewCell Pin
nelsonpaixao30-Sep-08 13:51
nelsonpaixao30-Sep-08 13:51 
QuestionHow to add TimeSpan to a DatTime Pin
CodingLover29-Sep-08 22:14
CodingLover29-Sep-08 22:14 

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.