Read ASP Post data in ASP.NET Page

A

Atul Shukla

Hi,

I dont know if this is weird requirement, but one of my customer wanted to
POST data from their ASP page on to another ASP.NET web service page.

Now I am thinking how to read the POSTed data from web service.

In ASP world, when data is posted to page2.asp, in page2.asp, we do
something like:
Request.Form[0] to read the data. I am wondering how can it be done in
ASP.NET web service. Does it have anything similar?

Any pointers would be great help.
Thanks
Atul
 
A

Atul Shukla

Never mind, got the solution by using
HttpContext context = HttpContext.Current;
And then
string data = context.Request.Form[0];

Thanks
Atul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top