Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Can some one tell my why this doesnt want to seem to work Pin
Ronin11427-Feb-09 11:14
Ronin11427-Feb-09 11:14 
GeneralRe: Can some one tell my why this doesnt want to seem to work Pin
Eddy Vluggen27-Feb-09 22:28
professionalEddy Vluggen27-Feb-09 22:28 
GeneralRe: Can some one tell my why this doesnt want to seem to work Pin
Ronin11428-Feb-09 7:07
Ronin11428-Feb-09 7:07 
Questiondatabase design for 2waysms Pin
shobansama26-Feb-09 22:01
shobansama26-Feb-09 22:01 
AnswerRe: database design for 2waysms Pin
Eddy Vluggen26-Feb-09 22:24
professionalEddy Vluggen26-Feb-09 22:24 
Question[Message Deleted] Pin
Abhishek Rana26-Feb-09 20:29
Abhishek Rana26-Feb-09 20:29 
AnswerRe: about the re-encode the video Pin
Expert Coming26-Feb-09 20:49
Expert Coming26-Feb-09 20:49 
Questionwater mark on video file Pin
Abhishek Rana26-Feb-09 20:12
Abhishek Rana26-Feb-09 20:12 
AnswerRe: water mark on video file Pin
Christian Graus26-Feb-09 20:17
protectorChristian Graus26-Feb-09 20:17 

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.