显示有换行字符的提示框


string temp1 = temp.Replace("\r\n","\\n"); 
                jsript 
= "<script language='javascript'>alert(\""+temp1+"\");</script>";
                Page.RegisterClientScriptBlock(
"select",jsript);
posted @ 2004-10-21 11:41  Enli  阅读(584)  评论(0编辑  收藏  举报