Hi Cyrus,
From your message i can understand that you are trying to post the data from
an HTML page to an ASPX page
and in ASPX page you are tyring to access those values.
when you submit by post [POST method] in your ASPX page your should have
code something like this.
string strTextBox = Request.Form("TextBox1");
if you use GET method then it should be
string strTextBox = Request.QueryString("TextBox1");
Since your are passing the values in the Querystring your code is
working..in post method it does not append the keyvalue pairs
in the url and hence they are not working for post method.
Hope this helps.
Thanks
Raghavendra
"Cyrus Donders" <c.*******@vspaa.nl> wrote in message
news:u6**************@TK2MSFTNGP09.phx.gbl...
Hi,
We are developing a web application in asp.net and all of a sudden there
is this new requirement and I am having problems to implement it.
My problem is that when a regular html page posts values to a aspx page in
our website, I lose the values that were posted. If the values are send
with a GET request I can access them in the Request collection.
Does anyone have an idea why this happens and what I can do to solve this.
Regards,
Cyrus Donders