Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
QuestionWay to retain focus of transparent form application. Pin
parth_patel19-Jun-09 8:38
parth_patel19-Jun-09 8:38 
AnswerRe: Way to retain focus of transparent form application. Pin
EliottA19-Jun-09 8:52
EliottA19-Jun-09 8:52 
GeneralRe: Way to retain focus of transparent form application. Pin
parth_patel19-Jun-09 8:55
parth_patel19-Jun-09 8:55 
GeneralRe: Way to retain focus of transparent form application. Pin
EliottA19-Jun-09 9:26
EliottA19-Jun-09 9:26 
GeneralRe: Way to retain focus of transparent form application. Pin
parth_patel19-Jun-09 12:30
parth_patel19-Jun-09 12:30 
GeneralRe: Way to retain focus of transparent form application. Pin
S. Senthil Kumar20-Jun-09 18:11
S. Senthil Kumar20-Jun-09 18:11 
GeneralRe: Way to retain focus of transparent form application. Pin
Dave Kreskowiak19-Jun-09 10:37
mveDave Kreskowiak19-Jun-09 10:37 
GeneralRe: Way to retain focus of transparent form application. Pin
parth_patel19-Jun-09 12:29
parth_patel19-Jun-09 12:29 
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 
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 
Thanks
i used it this way

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 = strBody.Replace("(Username)", Username).Replace("(Password)", Password);

          Response.Write(strBody)


but what is the Difference between this
strBody.Replace("(Username)",Username);

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


and this working code
strBody = strBody.Replace("(Username)", Username).Replace("(Password)", Password);


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/

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 

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.