Prabu Spark

Prabu Spark

  • NA
  • 124
  • 203.5k

Problem in using Response objects in c# windows application

Jul 6 2013 8:30 AM
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)