ASP小型练习
....
喵俺第一专栏
共同学习,共同进步,提高编程技能。另外,有好多优秀的项目练手哦,详细看第一个专栏,里面有很多可作为课设、毕业的项目,希望自己可以帮助到你哦!
展开
-
ASP投票页面
利用xml存储数据VoteXml.xml,初始人名票数<?xml version="1.0" standalone="yes"?><myXml> <Vote id="1"> <Name>那英</Name> <Count>325</Count> </Vote> <Vote id="2"> <Name>汪峰</Name> .原创 2022-05-03 19:35:55 · 769 阅读 · 0 评论 -
ASP登录注册修改页面
创建验证码:ValidateCode.aspx: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.IO;using System.Drawing.Imaging;public partial ...原创 2022-05-03 19:23:46 · 2243 阅读 · 0 评论 -
ASP学生信息的增删改查(GridView控件、DataList控件的使用)
创建DBhelp.cs,编写连接数据库的代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Data.SqlClient;/// <summary>///DBhelp 的摘要说明/// </summary>public static class DBhelp{ static strin...原创 2022-04-26 20:04:50 · 1329 阅读 · 0 评论 -
ASP:KU论坛跳转页面
1.首先创建把项目需要用的图片复制进来,创建两个文件夹:img、images放图片2.创建2个css,代码如下:myStyle.cssbody { background-image:url('img/bg.jpg'); background-repeat:repeat-x; text-align:center;}#Head{ background-image:url('img/logo_N.jpg'); background-repeat:no-原创 2022-03-20 10:57:14 · 1915 阅读 · 1 评论 -
登录跳转页面
1.点击【文件】|【新建】|【项目】|【ASP.NET空网站】2.新建页面。在项目图标上点击右键,选择【添加】|【新建项】|【Web窗体】,将窗体命名为Login.aspx。3.点击项目创建一个images文件夹,把所需要的图片复制到里面4.编辑Login.aspx登录页面,代码如下:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %><.原创 2022-03-03 23:43:12 · 2733 阅读 · 0 评论