Response.Write("<pre>"+bodyStr+"</pre>");
or
Response.Write(bodyStr.Replace(" "," ").Replace(Environment.NewLine,"<br>"));
or
Response.Write(bodyStr.Replace(" "," ").Replace(Environment.NewLine,"<br>"));
but I have another problem:
whether it may open new page using response.redirect function?
as <a href="focus.aspx" target="_blank">
而Response.Redirect 是当前页的切换,即已经在当前页切换到处理页了
所以你要弹出新的窗口,要在html或脚本处理如:<base target="_blank">如果非要用Response.Redirect,只能window.open弹出一个窗口然后自身再后退history.back(),何苦?
since linkbutton is bound with db,so I want to pop up a new page to transmit a parameter when linkbuton is clicked.if i use javascript,how I can transmit a parameter to a new page?