How to display the content coming from .exe file to Web Page
<p>I want to plot a graph from the data coming from a device attached to source. I dont want to store it. So i am just trying to post a sample data using a C# console application and display it on the web page. My C# code is :-</p>

<pre><code>WebRequest request = WebRequest.Create("http://localhost:49537/asp1.aspx");
request.Method = "POST";

string postData = "post this on server";
byte[] byteArray = Encoding.UTF8.GetBytes(postData);

request.ContentType = "application/x-www-form-urlencoded";

request.ContentLength = byteArray.Length;

Stream dataStream = request.GetRequestStream();

dataStream.Write(byteArray, 0, byteArray.Length);

dataStream.Close();
</code></pre>

<p>Now i want to display it on the ASP page, I tried using WebRequest and GET method on Page_Load method to show the content, but somehow its not working.        </p>
