Hi, .. I'm trying to post some values to an aspx but seem to be unable to get
the formdata there . This is what I do:
NameValueCollec tion form = new NameValueCollec tion();
form.Add("foo", "bar");
System.Net.WebC lient oo = new WebClient();
oo.UploadValues ("http://localhost/chuckhere.aspx" , form);
and I get an exception on the UploadValues();
"The stream does not support concurrent IO read or write operations."
I really have no clue what I'm doing wrong; I thought this ought to just work.
What am I missing here? :)
the formdata there . This is what I do:
NameValueCollec tion form = new NameValueCollec tion();
form.Add("foo", "bar");
System.Net.WebC lient oo = new WebClient();
oo.UploadValues ("http://localhost/chuckhere.aspx" , form);
and I get an exception on the UploadValues();
"The stream does not support concurrent IO read or write operations."
I really have no clue what I'm doing wrong; I thought this ought to just work.
What am I missing here? :)