;
文章:新闻EDA技术电源技术无线通信测量仪表嵌入式类电子技术制造技术半导体网络协议展会实验家电维修 3G  
  下载:EDA教程电源技术电子书籍电子元件无线通信通信网络电路图纸嵌入式类单片机传感/控制电子教材模拟数字
.... 音视频类
消费电子机械电子行业软件C/C++FPGA/ASIC规则标准家电维修DSPIC资料ARM软件电路图电子技术论坛
 
您当前的位置:电子发烧友-> 源码下载 -> asp源码下载 -> Aspx页面设计源代码下载 退出登录 用户管理
栏目导航
uCOS编程 C/C++语言编程
Symbian编程 Linux/uClinux/Unix编程
VHDL/Verilog/EDA源码 VxWorks/Nucleus/eCos/PalmOS
Windows编程 DSP编程
Labview源程序 matlab源程序
asp源码下载 php源码下载
jsp源码下载 asp.net源码下载
java源码下载 汇编编程
编译器/仿真器 驱动程序
集成开发环境源码 单片机编程
加密解密 数值算法/人工智能
其它程序 通讯/手机编程
热门下载
· 《Powerbuilder 9.0实用教...
· 4星级酒店管理系统
· 试题库管理系统
· 人事档案管理系统
· PowerBuilder 8.0基础篇源...
· 联机坦克游戏
· HTML Encryptv2.04
· HomePlus 主页特效专家
· 拼图游戏(java)
· 信用卡管理系统
专题相关
软件名称 Aspx页面设计源代码
运行环境 Win9X/Win2000/WinXP/Win2003/
整理时间 2010-2-9 15:00:17
新频道星级
新频道大小 53 KB csb23@126.com
下载统计
相关连接 官方主页  [点击收藏]
 技术资料介绍

    Aspx页面设计源代码
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>无标题页</title>
    <s cript language="vbs cript" type="text/vbs cript">
    // <!CDATA[


    // ]]>
    </s cript>
    <s cript language="javas cript" type="text/javas cript">
    // <!CDATA[


    // ]]>
    </s cript>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            &nbsp;
            <asp:Label ID="Label1" runat="server" Style="z-index: 100; left: 24px; position: absolute;
                top: 72px" Text="验证码"></asp:Label>
            &nbsp; &nbsp;&nbsp;
            <asp:Label ID="Label3" runat="server" Style="z-index: 101; left: 24px; position: absolute;
                top: 120px" Text="验证码"></asp:Label>
            <img src="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()" />
            &nbsp; &nbsp;
            <asp:Label ID="Label2" runat="server" Style="z-index: 102; left: 280px; position: absolute;
                top: 72px" Text="请输入验证码,不区分大小写"></asp:Label>
            &nbsp;
            <asp:TextBox ID="TextBox1" runat="server" Style="z-index: 103; left: 96px; position: absolute;
                top: 72px"></asp:TextBox>
            &nbsp;
            <asp:Button ID="Button1" runat="server" Style="z-index: 106; left: 136px; position: absolute;
                top: 168px" Text="确定" />
           
              
        </div>
        </form>
    </body>
    </html>
    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

  点击进入Aspx页面设计源代码下载页面
点击此处立即下载 - Aspx页面设计源代码
  相关技术资料下载   相关技术应用阅读
技术资料评论  (评论内容只代表网友观点,与本站立场无关!) 更多评论......
∷下载说明∷
为了达到最快的下载速度,推荐使用[网际快车]下载本站软件。
请一定升级到最新版[WinRAR3.5 ]才能正常解压本站提供的软件!
如果您发现该软件不能下载,请点击报告错误谢谢!
站内提供的所有软件包含破解及注册码均是由网上搜集,若侵犯了你的版权利益,敬请来信通知我们!

 
关于本站- 意见反馈 - 网站导航 - 帮助 - 隐私政策 - 联系我们 - 使用条款 - 安全承诺 - 友情连接 - 欢迎投稿
站长QQ:39550527 Powered by: 飓风网络(电路图
Copyright 2006-2008 Elecfans.Com.电子发烧友: 粤ICP备07065979号All Rights Reserved