ClientScript.RegisterStartupScript(this.GetType(), "yTmp", "yError('请填入正确数据');", true)
ClientScript.RegisterStartupScript(this.GetType(), "yTmp", "yError('请填入正确数据');", true)
日期:2010-08-30 16:48:30 人气:1
不是
这里是你自己写的,这个应该是前台引用了一个js文件在里面定义了一个yError这样名字的函数。
ClientScript.RegisterStartupScript(this.GetType(), "put", "alert('弹出的内容');", true)
作用是程序在这里alert弹出一个对话框。