Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
QuestionMultipe navigating (doing it in loop) Pin
Member 441789226-Feb-09 23:24
Member 441789226-Feb-09 23:24 
AnswerRe: Multipe navigating (doing it in loop) Pin
Greg Chelstowski26-Feb-09 23:32
Greg Chelstowski26-Feb-09 23:32 
GeneralRe: Multipe navigating (doing it in loop) Pin
Member 441789226-Feb-09 23:36
Member 441789226-Feb-09 23:36 
AnswerRe: Multipe navigating (doing it in loop) Pin
Calin Tatar26-Feb-09 23:39
Calin Tatar26-Feb-09 23:39 
GeneralRe: Multipe navigating (doing it in loop) Pin
Member 441789226-Feb-09 23:53
Member 441789226-Feb-09 23:53 
GeneralRe: Multipe navigating (doing it in loop) Pin
Calin Tatar27-Feb-09 0:01
Calin Tatar27-Feb-09 0:01 
GeneralRe: Multipe navigating (doing it in loop) Pin
Member 441789227-Feb-09 3:30
Member 441789227-Feb-09 3:30 
GeneralRe: Multipe navigating (doing it in loop) Pin
Calin Tatar27-Feb-09 4:19
Calin Tatar27-Feb-09 4:19 
GeneralRe: Multipe navigating (doing it in loop) Pin
Member 441789228-Feb-09 3:41
Member 441789228-Feb-09 3:41 
QuestionHow to get Value from Combobox.valuemember prpperty Pin
honeyashu26-Feb-09 22:59
honeyashu26-Feb-09 22:59 
AnswerRe: How to get Value from Combobox.valuemember prpperty Pin
JoeSharp26-Feb-09 23:18
JoeSharp26-Feb-09 23:18 
GeneralRe: How to get Value from Combobox.valuemember prpperty Pin
honeyashu26-Feb-09 23:39
honeyashu26-Feb-09 23:39 
GeneralRe: How to get Value from Combobox.valuemember prpperty Pin
Greg Chelstowski26-Feb-09 23:48
Greg Chelstowski26-Feb-09 23:48 
AnswerRe: How to get Value from Combobox.valuemember prpperty Pin
Greg Chelstowski26-Feb-09 23:28
Greg Chelstowski26-Feb-09 23:28 
QuestionHttpWebRequest problem... Pin
Greg Kozlowski26-Feb-09 22:45
Greg Kozlowski26-Feb-09 22:45 
AnswerRe: HttpWebRequest problem... Pin
Calin Tatar26-Feb-09 22:56
Calin Tatar26-Feb-09 22:56 
GeneralRe: HttpWebRequest problem... Pin
Greg Kozlowski26-Feb-09 23:57
Greg Kozlowski26-Feb-09 23:57 
Yes I can, but I get exception:

System.ArgumentException: Keep-Alive and Close may not be set with this property.

But I found this:

"The "ArgumentException" will be thrown if we directly set the Connection to "Close" or "Keep-Alive". And after some further dig into the HttpWebRequest's code, I think we should use the "KeepAlive" property instead of the "Connection" property to set the Connection header. For example:
use webrequest.KeepAlive = false; // to set "Connection:Close"
use webrequest.KeepAlive = true; // to set "Connection:Keep-Alive"


And that's it! Smile | :)

I forgot that KeepAlive is set to 'true' as default Smile | :) So when I've changed it to 'false' the connection is closing while the request and response is handled Smile | :)

Thank you very much Smile | :)
GeneralRe: HttpWebRequest problem... Pin
Calin Tatar27-Feb-09 0:20
Calin Tatar27-Feb-09 0:20 
GeneralRe: HttpWebRequest problem... Pin
Greg Kozlowski1-Mar-09 22:27
Greg Kozlowski1-Mar-09 22:27 
QuestionCan some one tell my why this doesnt want to seem to work Pin
Ronin11426-Feb-09 22:22
Ronin11426-Feb-09 22:22 
AnswerRe: Can some one tell my why this doesnt want to seem to work Pin
Eddy Vluggen26-Feb-09 22:28
professionalEddy Vluggen26-Feb-09 22:28 
GeneralRe: Can some one tell my why this doesnt want to seem to work Pin
Calin Tatar26-Feb-09 22:49
Calin Tatar26-Feb-09 22:49 
GeneralRe: Can some one tell my why this doesnt want to seem to work Pin
Ronin11427-Feb-09 8:16
Ronin11427-Feb-09 8:16 
GeneralRe: Can some one tell my why this doesnt want to seem to work Pin
Eddy Vluggen27-Feb-09 9:05
professionalEddy Vluggen27-Feb-09 9:05 
GeneralRe: Can some one tell my why this doesnt want to seem to work Pin
Eddy Vluggen27-Feb-09 9:07
professionalEddy Vluggen27-Feb-09 9:07 

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.