Click here to Skip to main content
15,893,722 members
Home / Discussions / C#
   

C#

 
AnswerRe: Way to retain focus of transparent form application. [modified] Pin
crayzeecoder19-Jun-09 9:30
crayzeecoder19-Jun-09 9:30 
GeneralRe: Way to retain focus of transparent form application. Pin
parth_patel19-Jun-09 12:24
parth_patel19-Jun-09 12:24 
QuestionConfigurationManager - how to read/write into a custom section? Pin
Zeokat19-Jun-09 7:27
Zeokat19-Jun-09 7:27 
AnswerRe: ConfigurationManager - how to read/write into a custom section? Pin
Manas Bhardwaj19-Jun-09 9:37
professionalManas Bhardwaj19-Jun-09 9:37 
GeneralRe: ConfigurationManager - how to read/write into a custom section? Pin
Zeokat19-Jun-09 9:48
Zeokat19-Jun-09 9:48 
AnswerRe: ConfigurationManager - how to read/write into a custom section? Pin
Henry Minute19-Jun-09 10:18
Henry Minute19-Jun-09 10:18 
GeneralRe: ConfigurationManager - how to read/write into a custom section? Pin
Zeokat19-Jun-09 10:34
Zeokat19-Jun-09 10:34 
QuestionReplace Function Pin
Vimalsoft(Pty) Ltd19-Jun-09 7:01
professionalVimalsoft(Pty) Ltd19-Jun-09 7:01 
Good Evening All

Am amazed that i cant use the Replace Function , its Probably the long that i had.

i have the Following code
String Username = "Vuyiswa";

          String Password = "secret";

          String strBody = @"<p>Thank you for using !obooking System <br><br> Username:(Username)<br><br>Password:(Password)<br<br>Kind Regards !oBooking</p>";

          strBody  = Regex.Replace(strBody,Username,"(Username)");

          strBody = Regex.Replace(strBody, Password, "(Password)");

          Response.Write(strBody);


i have tried the Normal replace Function, but the Variables are not returned with the Variables values.

Thanks

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

AnswerRe: Replace Function Pin
musefan19-Jun-09 7:14
musefan19-Jun-09 7:14 
GeneralRe: Replace Function Pin
Vimalsoft(Pty) Ltd19-Jun-09 7:23
professionalVimalsoft(Pty) Ltd19-Jun-09 7:23 
GeneralRe: Replace Function Pin
Luc Pattyn19-Jun-09 7:34
sitebuilderLuc Pattyn19-Jun-09 7:34 
AnswerRe: Replace Function Pin
Luc Pattyn19-Jun-09 7:33
sitebuilderLuc Pattyn19-Jun-09 7:33 
GeneralRe: Replace Function Pin
Vimalsoft(Pty) Ltd19-Jun-09 7:36
professionalVimalsoft(Pty) Ltd19-Jun-09 7:36 
GeneralRe: Replace Function Pin
musefan19-Jun-09 7:38
musefan19-Jun-09 7:38 
GeneralRe: Replace Function Pin
Vimalsoft(Pty) Ltd19-Jun-09 7:39
professionalVimalsoft(Pty) Ltd19-Jun-09 7:39 
GeneralRe: Replace Function Pin
Luc Pattyn19-Jun-09 7:43
sitebuilderLuc Pattyn19-Jun-09 7:43 
GeneralRe: Replace Function Pin
Vimalsoft(Pty) Ltd19-Jun-09 7:48
professionalVimalsoft(Pty) Ltd19-Jun-09 7:48 
GeneralRe: Replace Function Pin
musefan19-Jun-09 7:37
musefan19-Jun-09 7:37 
GeneralRe: Replace Function Pin
Luc Pattyn19-Jun-09 7:45
sitebuilderLuc Pattyn19-Jun-09 7:45 
GeneralRe: Replace Function Pin
musefan19-Jun-09 7:51
musefan19-Jun-09 7:51 
GeneralRe: Replace Function Pin
Luc Pattyn19-Jun-09 7:57
sitebuilderLuc Pattyn19-Jun-09 7:57 
Questiondirect access to file memory Pin
sahandshokri19-Jun-09 5:52
sahandshokri19-Jun-09 5:52 
AnswerRe: direct access to file memory Pin
0x3c019-Jun-09 6:00
0x3c019-Jun-09 6:00 
AnswerRe: direct access to file memory Pin
Dave Kreskowiak19-Jun-09 10:38
mveDave Kreskowiak19-Jun-09 10:38 
GeneralRe: direct access to file memory Pin
Mark Brend9-Aug-09 3:33
Mark Brend9-Aug-09 3:33 

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.