📄 studycustomvalidator.aspx.vb
字号:
Partial Class studyCustomValidator
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
Sub ClientSideValidator(ByVal source, ByVal arguments)
If (arguments.Value = 1 Or arguments.Value = 5 Or arguments.Value = 9) Then
arguments.lsValid=true
Else
arguments.lsValid = False
End If
End Sub
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -