send value to HTTP handler from aspx file [Resolved]

Posted by hareeshkumarkr-16190 under ASP.NET on 10/23/2013 | Points: 10 | Views : 1043 | Status : [Member] | Replies : 1
Hi,

How to send the value from form1.aspx to handler1.ashx ?




Responses

Posted by: Sheonarayan on: 10/23/2013 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
You can use querystring for that. For example

handler1.ashx?key=myvalue 


In the handler, get the value of key querystring from Context like
string key = context.Request.QueryString["key"]


Hope this helps.



Regards,
Sheo Narayan
http://www.dotnetfunda.com

hareeshkumarkr-16190, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response