commit
f6881b3a64
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ValidNums.aspx.cs" Inherits="Logins" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:Label ID="Label1" runat="server" Text="验证码"></asp:Label>
|
||||
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
|
||||
<asp:Label ID="Label2" runat="server" Text="Label" BackColor="#98DFF4" ForeColor="#CC0000" Font-Size="16px"></asp:Label>
|
||||
<br />
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Drawing;
|
||||
using System.Xml.Linq;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.Security;
|
||||
using System.Configuration;
|
||||
|
||||
public partial class Logins : System.Web.UI.Page
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
||||
http://go.microsoft.com/fwlink/?LinkId=169433
|
||||
-->
|
||||
<configuration>
|
||||
<!--
|
||||
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||
|
||||
The following attributes can be set on the <httpRuntime> tag.
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.8.1" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="验证码.aspx.cs" Inherits="验证码" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:Label ID="Label1" runat="server" Text="验证码"></asp:Label>
|
||||
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
|
||||
<asp:Label ID="Label2" runat="server" Text="Label" BackColor="#87DFF4" ForeColor="#CC0000" Font-Size="16px"></asp:Label>
|
||||
<br />
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
public partial class 验证码 : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
string getvali = GetVali();
|
||||
Label2.Text = getvali;
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="验证码2.aspx.cs" Inherits="验证码2" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:Label ID="Label1" runat="server" Text="验证码"></asp:Label>
|
||||
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
|
||||
<asp:Label ID="Label2" runat="server" Text="Label" BackColor="#87DFF3" ForeColor="#CC0000" Font-Size="16px"></asp:Label>
|
||||
<br />
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
public partial class 验证码2 : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
string strvali = GetVali();
|
||||
Label2.Text = strvali;
|
Loading…
Reference in new issue