Sorry for the confusions of this thread, this one will surely work!
Default.aspx PHP Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ASP.NET Web Test Form</title>
</head>
<body>
<form id="shoutForm" runat="server">
<div>
<asp:TextBox ID="name" runat="server"></asp:TextBox>
<asp:Button ID="submit" runat="server" OnClick="BtnOnClick" Text="SHOUT!" />
<p>
<asp:Label ID="result" runat="server"></asp:Label>
</p>
</div>
</form>
</body>
</html>
Default.aspx.cs PHP Code:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
protected void BtnOnClick(object sender, EventArgs e)
{
String value = name.Text;
result.Text = "HELLO! MY NAME IS " + value;
}
}
hopefully the code itself is self explanatory...

if not, then ask questions... I'm not an expert at this, but I'm also learning ASP.NET