你在aspx中建一个runatserver的div
protected void Button1_Click(object sender, EventArgs e)
{
string s = "计算结果是:";
double tem1 = 0;
double.TryParse(TextBox1.Text,out tem1);
double tem2 = 0;
double.TryParse(TextBox2.Text,out tem2);
s = tem1.ToString() + tem2.ToString();
this.div.InnerHTML = s;
}