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

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

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

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

Aspx頁面設計源代碼

大?。?/span>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%

      發表評論

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

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

      ?
      主站蜘蛛池模板: 2017年伦理片免费观看 | 中文字幕 日韩 无码 在线 | 亚洲欧美日韩精品自拍 | 日韩高清在线亚洲专区 | 男女免费观看在线爽爽爽视频 | 亚洲第一区欧美日韩精品 | 午夜向日葵视频在线观看 | 直插下身完整的欧美版 | 亚洲VA欧美VA天堂V国产综合 | 国产高清精品国语特黄A片 国产高清国内精品福利色噜噜 | 亚洲va在线va天堂XX xX | 视频一区亚洲视频无码 | 99在线在线视频观看 | WWW色视频片内射 | 女人精69xxxxx | 亚洲成人免费观看 | 亚洲视频在线免费 | 伦理片在线线手机版韩国免费观看 | 日本久久黄色 | 秋霞影音先锋一区二区 | 97无码人妻精品1国产精东影业 | 亚洲欧美一区二区三区久久 | 99视频在线免费 | 国产精品免费一区二区区 | 国产又色又爽又刺激在线播放 | 久久国产加勒比精品无码 | 永久免费看A片无码网站四虎 | 亚洲精品97福利在线 | FREE性丰满HD毛多多 | 国产 有码 无码 电影 | 欧美xxbb| 全黄h全肉细节文在线观看 全黄H全肉细节文短篇 | a视频在线观看免费 | 门鱼电影完整版免费版 | 爱豆剧果冻传媒在线播放 | 日韩在线视频www色 日韩在线看片中文字幕不卡 | 纯肉高H种马艳遇风流多 | RUNAWAY韩国动漫免费官网版 | 无码日韩人妻精品久久蜜桃免费 | 幼儿交1300部一区二区 | 97无码欧美熟妇人妻蜜 |