int number=convert.toint32(this.texbox1.tex.trim().tostring());//强制将string转换成int类型Response.Write("你输入的数字是:"+number);//打印出数字
int a=Int.parse(Textbox1.Text.Trim().ToString());
Convert.ToInt32(Textbox1.Text)