I have php code that I converted to asp.net code. The PHP code simply echoes the answer that the client reads and interprets, however, in asp.net, the generated output is forced to be in html format, which is exactly what I use asp.net tags to output the output.
Is there a way that I can achieve the same as echo in php, or is there very lightweight code that can help me parse HTML text correctly?
EDIT:
What I'm trying to do seems to be
// receive message data
echo "Some stuff"
My current aspx file for testing:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="grabber.aspx.cs" Inherits="qProcessor.grabber" %>
and the code behind has only one method:
protected void Page_Load(object sender, EventArgs e)
{
}
Thank.
source
share