生成验证码的页面:Captcha.aspx
 1.net的验证码程序(附文件)<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Captcha.aspx.cs" Inherits="Captcha" %>
 2.net的验证码程序(附文件)
 3.net的验证码程序(附文件)<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 4.net的验证码程序(附文件)
 5.net的验证码程序(附文件)<html xmlns="http://www.w3.org/1999/xhtml" >
 6.net的验证码程序(附文件)<head runat="server">
 7.net的验证码程序(附文件)    <title>Untitled Page</title>
 8.net的验证码程序(附文件)</head>
 9.net的验证码程序(附文件)<body>
10.net的验证码程序(附文件)    <form id="form1" runat="server">
11.net的验证码程序(附文件)    <div>
12.net的验证码程序(附文件)    
13.net的验证码程序(附文件)    </div>
14.net的验证码程序(附文件)    </form>
15.net的验证码程序(附文件)</body>
16.net的验证码程序(附文件)</html>
17.net的验证码程序(附文件)===========================
18.net的验证码程序(附文件)Captcha.aspx.cs
19.net的验证码程序(附文件)
20.net的验证码程序(附文件)using System;
21.net的验证码程序(附文件)using System.Data;
22.net的验证码程序(附文件)using System.Configuration;
23.net的验证码程序(附文件)using System.Collections;
24.net的验证码程序(附文件)using System.Web;
25.net的验证码程序(附文件)using System.Web.Security;
26.net的验证码程序(附文件)using System.Web.UI;
27.net的验证码程序(附文件)using System.Web.UI.WebControls;
28.net的验证码程序(附文件)using System.Web.UI.WebControls.WebParts;
29.net的验证码程序(附文件)using System.Web.UI.HtmlControls;
30.net的验证码程序(附文件)using System.Drawing.Drawing2D;
31.net的验证码程序(附文件)using System.Drawing;
32.net的验证码程序(附文件)using System.IO;
33.net的验证码程序(附文件)using System.Drawing.Imaging;
34.net的验证码程序(附文件)
35.net的验证码程序(附文件)public partial class Captcha : System.Web.UI.Page
36{
            //这里可以改成你想设置的验证码字符集
66.net的验证码程序(附文件)        //char[] s = new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };
67

调用验证码的页面:register.aspx
 1.net的验证码程序(附文件)<%@ Page Language="C#" AutoEventWireup="true" CodeFile="register.aspx.cs"  Inherits="register" %>
 2.net的验证码程序(附文件)
 3.net的验证码程序(附文件)<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 4.net的验证码程序(附文件)
 5.net的验证码程序(附文件)<html xmlns="http://www.w3.org/1999/xhtml" >
 6.net的验证码程序(附文件)<head id="Head1" runat="server">
 7.net的验证码程序(附文件)    <title>会员注册</title>
 8.net的验证码程序(附文件)   </head>
 9.net的验证码程序(附文件)<body>
10.net的验证码程序(附文件)    <form id="form1" runat="server">
11.net的验证码程序(附文件)    <div class="middle" style="height: 1px" >
12.net的验证码程序(附文件)    <div >
13.net的验证码程序(附文件)        <asp:Label ID="UserName" runat="server" Text="用户名:" ></asp:Label>
14.net的验证码程序(附文件)        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
15.net的验证码程序(附文件)    </div>
16.net的验证码程序(附文件)    <div >
17.net的验证码程序(附文件)        <asp:Label ID="UserPsw" runat="server" Text="密码:" ></asp:Label>
18.net的验证码程序(附文件)        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></div>
19.net的验证码程序(附文件)    <div >
20.net的验证码程序(附文件)        <asp:Label ID="Label2" runat="server" Text="确认密码:" ></asp:Label>
21.net的验证码程序(附文件)        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox></div>
22.net的验证码程序(附文件)    <div >
23.net的验证码程序(附文件)        <asp:Label ID="Question" runat="server" Text="找回密码问题:"></asp:Label>
24.net的验证码程序(附文件)        <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></div>
25.net的验证码程序(附文件)    <div>
26.net的验证码程序(附文件)        <asp:Label ID="Answer" runat="server" Text="找回密码答案:"></asp:Label>
27.net的验证码程序(附文件)        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox></div>
28.net的验证码程序(附文件)    <div >
29.net的验证码程序(附文件)        <asp:Label ID="Email" runat="server" Text="电子邮件:"></asp:Label>
30.net的验证码程序(附文件)        <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox></div>
31.net的验证码程序(附文件)    <div >
32.net的验证码程序(附文件)        <asp:Label ID="Label1" runat="server" Text="验证码:"></asp:Label>
33.net的验证码程序(附文件)        <asp:TextBox ID="CheckCode" runat="server" Width="85px"></asp:TextBox>
34.net的验证码程序(附文件)        <asp:Image id="Image1" runat="server" style="display:inline;" ImageUrl="Captcha.aspx"></asp:Image>
35.net的验证码程序(附文件)        <asp:LinkButton ID="LinkButton1" runat="server">看不清楚,再换一张</asp:LinkButton></div>
36.net的验证码程序(附文件)    <div>
37.net的验证码程序(附文件)        <asp:Button ID="Button1" runat="server" Text="确定" OnClick="Button1_Click" /></div>
38.net的验证码程序(附文件)    <div class="text">
39.net的验证码程序(附文件)        <asp:Label ID="Message" runat="server" ></asp:Label></div>
40.net的验证码程序(附文件)    </div>
41.net的验证码程序(附文件)    </form>
42.net的验证码程序(附文件)</body>
43.net的验证码程序(附文件)
44.net的验证码程序(附文件)</html>
45.net的验证码程序(附文件)
46.net的验证码程序(附文件)=============================
47.net的验证码程序(附文件)Register.aspx.cs
48.net的验证码程序(附文件)
49.net的验证码程序(附文件)using System;
50.net的验证码程序(附文件)using System.Data;
51.net的验证码程序(附文件)using System.Configuration;
52.net的验证码程序(附文件)using System.Collections;
53.net的验证码程序(附文件)using System.Web;
54.net的验证码程序(附文件)using System.Web.Security;
55.net的验证码程序(附文件)using System.Web.UI;
56.net的验证码程序(附文件)using System.Web.UI.WebControls;
57.net的验证码程序(附文件)using System.Web.UI.WebControls.WebParts;
58.net的验证码程序(附文件)using System.Web.UI.HtmlControls;
59.net的验证码程序(附文件)
60.net的验证码程序(附文件)
61.net的验证码程序(附文件)public partial class register : Page
62

源码下载:下载

相关文章:

  • 2022-12-23
  • 2021-06-17
  • 2022-01-01
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2021-07-07
  • 2022-02-09
  • 2021-08-06
  • 2021-12-16
  • 2021-07-02
相关资源
相似解决方案