Peter try looking at this sample at:-
http://aspnet101.com/aspnet101/tutorials.aspx?id=20
Hope that helps
Patrick
> Hello,
>
[quoted text clipped - 10 lines]
>
> Thank you,
Peter Afonin - 16 Jan 2006 05:04 GMT
Hi Patrick,
Yes, that should do it. I can use this or perhaps Javascript to post to
another page. Thank you very much!
Peter
> Peter try looking at this sample at:-
> http://aspnet101.com/aspnet101/tutorials.aspx?id=20
[quoted text clipped - 16 lines]
> >
> > Thank you,
Peter Afonin - 19 Jan 2006 05:31 GMT
Patrick, I've tried this - it's actually not exactly what I need.
In my case I'm posting data to the gateway. This gateway returns the results
in field1, field2, etc. It posts this result back to my page. Many gateways
are posting data to the different URL, so it's not a problem to get values
of these fields by using Request.Form(field1) etc. But not this one.
I can use the post string and then get all results in one string, like this:
Dim objResponse As HttpWebResponse = objRequest.GetResponse()
Dim sr As StreamReader
sr = New StreamReader(objResponse.GetResponseStream(),
Encoding.GetEncoding(1251))
result = sr.ReadToEnd()
sr.Close()
This works fine. But I'd rather get them by the field name, i.e. get values
of field1, field2 etc. Any idea how to do this?
Thank you,
Peter
> Peter try looking at this sample at:-
> http://aspnet101.com/aspnet101/tutorials.aspx?id=20
[quoted text clipped - 16 lines]
> >
> > Thank you,