1
Reply

Problem in using Response objects in c# windows application

Prabu Spark

Prabu Spark

Jul 6 2013 8:30 AM
2.2k
Hi sir,
    I changed one web application to window application, in my code, i am using   Response.Flush()            Response.End(); Request.PhysicalApplicationPath. But it shows "Response does not exist in the current context".


I add a web reference to system.web.dll and used HttpContext.Current.Response.Flush(). But still showing error. I want to know
how to use Request and Response object in c# windows application. Kindly give me the solution for this problem.


Answers (1)