// // ]]> Aspx后臺設計源代碼Partial Class _De">

色哟哟视频在线观看-色哟哟视频在线-色哟哟欧美15最新在线-色哟哟免费在线观看-国产l精品国产亚洲区在线观看-国产l精品国产亚洲区久久

您好,歡迎來電子發燒友網! ,新用戶?[免費注冊]

您的位置:電子發燒友網>源碼下載>asp源碼下載>

Aspx頁面設計源代碼

大小:53 人氣: 2010-02-09 需要積分:0
鼠愛米的空間

用戶級別:注冊會員

貢獻文章:

貢獻資料:

Aspx頁面設計源代碼
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

http://www.w3.org/1999/xhtml" >

    無標題頁




   


   

         
        Text="驗證碼">
            
       
        http://localhost:2115/WebSite4/Default2.aspx?tmp=1" style="z-index: 105; left: 112px; position: absolute; top: 112px" alt="驗證碼獲取失敗" id="IMG1" onclick="return IMG1_onclick()" />
           
       
         
       
         
       
       
          
   

   



Aspx后臺設計源代碼
Partial Class _Default
    Inherits System.Web.UI.Page
   

   
  


  
   
  
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim s As String
        s = Request.Cookies("name").Value.ToString() '從cookies中接收隨機字符串
        s = s.ToLower() '轉換為小寫自符

        If TextBox1.Text.ToLower = s Then
            MsgBox("succeed")
        Else : MsgBox("failed")

        End If '判斷是否正確
    End Sub
End Class
隨即圖形生成源代碼
Partial Class Default2
    Inherits System.Web.UI.Page
    Public s As String = "" '隨即驗證碼字符形式

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
   
        Response.Clear() '清除返回緩存流
        '隨機數產生過程()
        Dim number1 As Integer 'for語句將用到的變量
        Dim number2 As Integer
        number2 = 4 '要生成幾個字符的驗證碼便賦值幾
        Dim random As New Random '新建隨機生成器
        Dim number3 As Integer '‘用于保存隨機產生的數值

        For number1 = 1 To number2
            number3 = random.Next(62) '定義隨機數上界

            Select Case number3
                Case 0
                    s = s + "0"
                Case 1
                    s = s + "1"
                Case 2
                    s = s + "2"
                Case 3
                    s = s + "3"
                Case 4
                    s = s + "4"
                Case 5
                    s = s + "5"
                Case 6
                    s = s + "6"
                Case 7
                    s = s + "7"
                Case 8
                    s = s + "8"
                Case 9
                    s = s + "9"
                Case 10
                    s = s + "A"
                Case 11
                    s = s + "B"
                Case 12
                    s = s + "C"
                Case 13
                    s = s + "D"
                Case 14
                    s = s + "E"
                Case 15
                    s = s + "F"
                Case 16
                    s = s + "G"
                Case 17
                    s = s + "H"
                Case 18
                    s = s + "I"
                Case 19
                    s = s + "G"
                Case 20
                    s = s + "K"
                Case 21
                    s = s + "L"
                Case 22
                    s = s + "M"
                Case 23
                    s = s + "N"
                Case 24
                    s = s + "O"
                Case 25
                    s = s + "P"
                Case 26
                    s = s + "Q"
                Case 27
                    s = s + "R"
                Case 28
                    s = s + "S"
                Case 29
                    s = s + "T"
                Case 30
                    s = s + "U"
                Case 31
                    s = s + "V"
                Case 32
                    s = s + "W"
                Case 33
                    s = s + "X"
                Case 34
                    s = s + "Y"
                Case 35
                    s = s + "Z"
                Case 36
                    s = s + "a"
                Case 37
                    s = s + "b"
                Case 38
                    s = s + "c"
                Case 39
                    s = s + "d"
                Case 40
                    s = s + "e"
                Case 41
                    s = s + "f"
                Case 42
                    s = s + "g"
                Case 43
                    s = s + "h"
                Case 44
                    s = s + "i"
                Case 45
                    s = s + "g"
                Case 46
                    s = s + "k"
                Case 47
                    s = s + "l"
                Case 48
                    s = s + "m"
                Case 49
                    s = s + "n"
                Case 50
                    s = s + "o"
                Case 51
                    s = s + "p"
                Case 52
                    s = s + "q"
                Case 53
                    s = s + "r"
                Case 54
                    s = s + "s"
                Case 55

非常好我支持^.^

(0) 0%

不好我反對

(0) 0%

      發表評論

      用戶評論
      評價:好評中評差評

      發表評論,獲取積分! 請遵守相關規定!

      ?
      主站蜘蛛池模板: 国产成人综合在线视频| 91天堂国产在线 在线播放| 欧美精品一卡二卡| 久久综合久综合久久鬼色| 国语92电影网午夜福利| 国产免费阿v精品视频网址| 国产成人啪精品视频免费网| 成年美女黄网站色app| xxxxxx视频| 99热久久这里只有精品视频| 99精品电影| 99热久久视频只有精品6国产| 精品高潮呻吟99AV无码| 国产精品久久久久久久A片冻果| 2020最新无码国产在线视频| 在线看无码的免费网站| 特级黑人三人共一女| 日日a.v拍夜夜添久久免费| 琪琪热热色原日韩在线| 久久亚洲AV无码精品午色夜麻豆| 大地影院日本韩国电影免费观看| 99在线这精品视频| MATURETUBE乱妇| 边摸边吃奶边做下面视频| 俄罗斯12一15处交| 国产精品野外AV久久久| 后入到高潮免费观看| 久久久久国产精品美女毛片| 乱码国产丰满人妻WWW| 欧美国产日韩久久久| 日本黄色www| 无码137片内射在线影院| 亚洲精品久久久WWW游戏好玩| 亚洲一区精品在线| 在教室做啊好大用力| 99久久久无码国产精品免费人妻 | 香蕉59tv视频| 夜色福利院在线观看免费| 7756短视频| 高h超辣bl文| 精品国产国产综合精品|