[已解决]Private Sub page_load的问题
Private Sub page_load(ByVal sender As System.Object, ByVal e As System.EventArgs)If Page.IsPostBack Then
ID = Request.QueryString("ID")
If ID = "" Or IsNumeric(ID) = False Then
Response.Write("<script>alert('对不起数据传递错误');history.go(-1)</script>")
Response.End()
End If
End If
end sub
我的要求是检查ID是否为空或者是否是数字,如果不是,则返回,并且提示错误,但它出不来呢,
[此贴子已经被作者于2006-8-14 12:51:25编辑过]