Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to correct this code of C#.net windows form? Pin
Keshav V. Kamat22-Apr-07 23:06
Keshav V. Kamat22-Apr-07 23:06 
QuestionSend a Mail via Exchange Server Pin
spotl20-Apr-07 8:12
spotl20-Apr-07 8:12 
AnswerRe: Send a Mail via Exchange Server Pin
Corinna John20-Apr-07 10:15
Corinna John20-Apr-07 10:15 
AnswerRe: Send a Mail via Exchange Server Pin
Rakheesh Chalil21-Apr-07 17:22
Rakheesh Chalil21-Apr-07 17:22 
AnswerRe: Send a Mail via Exchange Server Pin
spotl22-Apr-07 9:21
spotl22-Apr-07 9:21 
QuestionHELP!!!!!!! ASP.NET C# code behind pop up. Pin
Ibuprofen20-Apr-07 8:12
Ibuprofen20-Apr-07 8:12 
AnswerRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Ibuprofen20-Apr-07 8:49
Ibuprofen20-Apr-07 8:49 
AnswerRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Guffa20-Apr-07 9:09
Guffa20-Apr-07 9:09 
Do you really want the apostrophes around the values in the query string? They will end up as part of the value when you read the values from the query string.

If any of the values in the query string may contain any characters that has a special mening in an url, they have to be url encoded (using the Server.UrlEncode method).

If you really want the apostrophes in the values, you have to encode them as \' when putting the url in the Javascript string, otherwise the first apostrophe in the url will end the string.

And on a side note: Why on earth are you using string concatenation when you have a StringBuilder? Use the Append method to add each string to the StringBuilder instead of first concatenating strings and then adding them.

sb.AppendLine("<script language=\"javascript\" type=\"text/javascript\">");
sb.AppendLine("window.open('").Append(url).Append("','").Append(windowName).Append("','" ).Append(openParams).Append("');");
sb.Append("</script>");


---
single minded; short sighted; long gone;

GeneralRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Ibuprofen20-Apr-07 9:14
Ibuprofen20-Apr-07 9:14 
GeneralRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Ibuprofen20-Apr-07 9:15
Ibuprofen20-Apr-07 9:15 
AnswerRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Guffa20-Apr-07 9:41
Guffa20-Apr-07 9:41 
AnswerRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Guffa20-Apr-07 9:48
Guffa20-Apr-07 9:48 
GeneralRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Ibuprofen20-Apr-07 9:54
Ibuprofen20-Apr-07 9:54 
GeneralRe: HELP!!!!!!! ASP.NET C# code behind pop up. Pin
Ibuprofen20-Apr-07 10:41
Ibuprofen20-Apr-07 10:41 
QuestionHow to get the class description Pin
engsrini20-Apr-07 7:59
engsrini20-Apr-07 7:59 
Questionreading from scanner Pin
haseeb_saeed20-Apr-07 7:52
haseeb_saeed20-Apr-07 7:52 
AnswerRe: reading from scanner Pin
Thomas Stockwell20-Apr-07 15:15
professionalThomas Stockwell20-Apr-07 15:15 
GeneralRe: reading from scanner Pin
haseeb_saeed20-Apr-07 22:06
haseeb_saeed20-Apr-07 22:06 
GeneralRe: reading from scanner Pin
Thomas Stockwell21-Apr-07 3:07
professionalThomas Stockwell21-Apr-07 3:07 
Questionbitmaps and com interop Pin
arcticbrew20-Apr-07 7:39
arcticbrew20-Apr-07 7:39 
Questionhow to clear this error in C#.net windows application form? Pin
sathyan_829420-Apr-07 6:01
sathyan_829420-Apr-07 6:01 
AnswerRe: how to clear this error in C#.net windows application form? Pin
kubben20-Apr-07 6:11
kubben20-Apr-07 6:11 
AnswerRe: how to clear this error in C#.net windows application form? Pin
Vega0220-Apr-07 8:52
Vega0220-Apr-07 8:52 
QuestionWhat do i need to do in order to have a ok button to close a form? Pin
sinosoidal20-Apr-07 5:58
sinosoidal20-Apr-07 5:58 
AnswerRe: What do i need to do in order to have a ok button to close a form? Pin
Guffa20-Apr-07 6:10
Guffa20-Apr-07 6:10 

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.