• Application的多种值判断测试程序


    Application.Contents.Remove("FriendLink")
     Response.Write("Application.Contents.Remove(""FriendLink"")" & "<br>" & vbnewline)
     Response.Write("IsEmpty(Application(""FriendLink""))=" & IsEmpty(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNull(Application(""FriendLink""))=" & IsNull(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNumeric(Application(""FriendLink""))=" & IsNumeric(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsDate(Application(""FriendLink""))=" & IsDate(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsArray(Application(""FriendLink""))=" & IsArray(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("Application(""FriendLink"")=""""===" & (Application("FriendLink")="") & "<br>" & vbnewline)
     Response.Write("IsObject(Application(""FriendLink""))=" & IsObject(Application("FriendLink")) & "<br>" & vbnewline)
     Application.Lock()
     Application("FriendLink")=Null
     Application.UnLock()
     Response.Write("Application(""FriendLink"")=Null" & "<br>" & vbnewline)
     Response.Write("IsEmpty(Application(""FriendLink""))=" & IsEmpty(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNull(Application(""FriendLink""))=" & IsNull(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNumeric(Application(""FriendLink""))=" & IsNumeric(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsDate(Application(""FriendLink""))=" & IsDate(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsArray(Application(""FriendLink""))=" & IsArray(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("Application(""FriendLink"")=""""===" & (Application("FriendLink")="") & "<br>" & vbnewline)
     Response.Write("IsObject(Application(""FriendLink""))=" & IsObject(Application("FriendLink")) & "<br>" & vbnewline)
     Application.Lock()
     Application("FriendLink")=""
     Application.UnLock()
     Response.Write("Application(""FriendLink"")=""""" & "<br>" & vbnewline)
     Response.Write("IsEmpty(Application(""FriendLink""))=" & IsEmpty(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNull(Application(""FriendLink""))=" & IsNull(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNumeric(Application(""FriendLink""))=" & IsNumeric(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsDate(Application(""FriendLink""))=" & IsDate(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsArray(Application(""FriendLink""))=" & IsArray(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("Application(""FriendLink"")=""""===" & (Application("FriendLink")="") & "<br>" & vbnewline)
     Response.Write("IsObject(Application(""FriendLink""))=" & IsObject(Application("FriendLink")) & "<br>" & vbnewline)
     Application.Lock()
     Application("FriendLink")=0
     Application.UnLock()
     Response.Write("Application(""FriendLink"")=0" & "<br>" & vbnewline)
     Response.Write("IsEmpty(Application(""FriendLink""))=" & IsEmpty(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNull(Application(""FriendLink""))=" & IsNull(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsNumeric(Application(""FriendLink""))=" & IsNumeric(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsDate(Application(""FriendLink""))=" & IsDate(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("IsArray(Application(""FriendLink""))=" & IsArray(Application("FriendLink")) & "<br>" & vbnewline)
     Response.Write("Application(""FriendLink"")=""""===" & (Application("FriendLink")="") & "<br>" & vbnewline)
     Response.Write("IsObject(Application(""FriendLink""))=" & IsObject(Application("FriendLink")) & "<br>" & vbnewline)

  • 相关阅读:
    wpf中DataGrid自定义验证(包含BindingGroup)
    WPF博客地址分享
    ComboBox在WPF中的绑定示例:绑定项、集合、转换,及其源代码
    【windows phone】CollectionViewSource的妙用
    WPF之Binding深入探讨
    正确理解WPF中的TemplatedParent
    继续聊WPF——获取ComboBox中绑定的值
    WPF触发器(Trigger、DataTrigger、EventTrigger)
    jQuery和javaScript页面加载完成时触发的事件
    jQuery对象和dom对象的转换
  • 原文地址:https://www.cnblogs.com/lykouyi/p/5687908.html
Copyright © 2020-2023  润新知