response.write能够设置输出的位置么

来源:百度知道 编辑:UC知道 时间:2024/06/02 14:55:08
例如: 我要用response.write输出“你好”两个字 要求:再页面的一个位置输出,这个位置由自己来设定,能够实现么。

在 .cs里面 输出 肯定出现在html最顶部

要实现你要的效果建议这样:

把这段放在.aspx中你要想的位置
<%Response.Write("你好");%>

http://www.tyasp.net

不能.

用label 比较方便.