Click here to Skip to main content
16,005,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threading issue in winforms Pin
N a v a n e e t h1-Apr-09 17:59
N a v a n e e t h1-Apr-09 17:59 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 18:10
professionalMycroft Holmes1-Apr-09 18:10 
GeneralRe: Threading issue in winforms Pin
N a v a n e e t h1-Apr-09 18:15
N a v a n e e t h1-Apr-09 18:15 
GeneralRe: Threading issue in winforms Pin
Luc Pattyn2-Apr-09 4:37
sitebuilderLuc Pattyn2-Apr-09 4:37 
QuestionVS 2008 Unit Testing Null Exception Error Pin
dboy2211-Apr-09 15:57
dboy2211-Apr-09 15:57 
AnswerRe: VS 2008 Unit Testing Null Exception Error Pin
Judah Gabriel Himango1-Apr-09 16:42
sponsorJudah Gabriel Himango1-Apr-09 16:42 
GeneralRe: VS 2008 Unit Testing Null Exception Error Pin
dboy2211-Apr-09 17:22
dboy2211-Apr-09 17:22 
QuestionCompleting a mulit-page webform using WebClient Pin
front711-Apr-09 15:18
front711-Apr-09 15:18 
Hi all,

I've been having a little problem with the WebClient class, and am hoping someone can help.

Here is what I'm currently working with:

<br />
        string uri = "WebURL";<br />
<br />
        byte[] postBytes = Encoding.ASCII.GetBytes(postString_Begin);<br />
        byte[] postBytes2 = Encoding.ASCII.GetBytes(postString2);<br />
<br />
        WebClient myClient = new WebClient();<br />
        myClient.Headers.Add("Content-Type", "application/x-www-form-urlencoded");<br />
<br />
        byte[] response = myClient.UploadData(uri, postBytes);<br />
<br />
        string myresponse = Encoding.ASCII.GetString(response);<br />
<br />
        response = myClient.UploadData(uri2, postBytes2);<br />

Here is where I hit my wall.
After I upload the first queryString, the next step in the process is returned.
The URL does not change, but when I go to post the next section of values, it posts them back to the first page/form part.
Can anyone point me to How I can post my second querystring to the returned page from the first request?

Thanks
QuestionComboBoxes and DataGridViews... Pin
Illegal Operation1-Apr-09 13:37
Illegal Operation1-Apr-09 13:37 
AnswerRe: ComboBoxes and DataGridViews... Pin
Mycroft Holmes1-Apr-09 16:27
professionalMycroft Holmes1-Apr-09 16:27 
GeneralRe: ComboBoxes and DataGridViews... Pin
Illegal Operation1-Apr-09 17:15
Illegal Operation1-Apr-09 17:15 
AnswerRe: ComboBoxes and DataGridViews... Pin
a.hamidy1-Apr-09 18:42
a.hamidy1-Apr-09 18:42 
QuestionSelf Update .Net application with a web service. Pin
Member 34269361-Apr-09 13:11
Member 34269361-Apr-09 13:11 
AnswerRe: Self Update .Net application with a web service. Pin
Judah Gabriel Himango1-Apr-09 16:24
sponsorJudah Gabriel Himango1-Apr-09 16:24 
Questionrename file Pin
yogesh_softworld1231-Apr-09 10:06
yogesh_softworld1231-Apr-09 10:06 
AnswerRe: rename file Pin
Pete O'Hanlon1-Apr-09 10:14
mvePete O'Hanlon1-Apr-09 10:14 
AnswerRe: rename file Pin
Giorgi Dalakishvili1-Apr-09 10:18
mentorGiorgi Dalakishvili1-Apr-09 10:18 
AnswerRe: rename file Pin
Henry Minute1-Apr-09 10:24
Henry Minute1-Apr-09 10:24 
QuestionExtracting an embedded resource file issue. Pin
astroudjr1-Apr-09 9:18
astroudjr1-Apr-09 9:18 
AnswerRe: Extracting an embedded resource file issue. Pin
Giorgi Dalakishvili1-Apr-09 10:08
mentorGiorgi Dalakishvili1-Apr-09 10:08 
AnswerRe: Extracting an embedded resource file issue. Pin
0x3c01-Apr-09 10:34
0x3c01-Apr-09 10:34 
QuestionAbout DMX protocol. Pin
pocho21011-Apr-09 8:32
pocho21011-Apr-09 8:32 
QuestionToolboxBitmap isn't working... The on going saga Pin
garaber1-Apr-09 8:19
garaber1-Apr-09 8:19 
AnswerRe: ToolboxBitmap isn't working... The on going saga Pin
Henry Minute1-Apr-09 10:30
Henry Minute1-Apr-09 10:30 
GeneralRe: ToolboxBitmap isn't working... The on going saga Pin
garaber1-Apr-09 14:33
garaber1-Apr-09 14: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.