方法一
Literal1.Text = @"<script language='javascript'>alert(\"輸入錯誤!\");</script>";

方法二
ClientScript.RegisterClientScriptBlock(this.GetType(), "checkinput", @"<script language='javascript'>alert(\"輸入錯誤!\");</script>");


arrow
arrow
    全站熱搜

    Roger 發表在 痞客邦 留言(0) 人氣()