
asp.net
虾米大王
努力学习
展开
-
asp.net代码练习 work106
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work106{ public class Animal { public virtual string Name { get; set; } } //虚属性原创 2021-07-28 20:26:37 · 179 阅读 · 0 评论 -
asp.net代码练习 work105
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work105{ public class Animal { public virtual string Fly() { return "大多数动物都会飞翔"; } } //虚方法可以选择原创 2021-07-28 20:26:23 · 188 阅读 · 0 评论 -
asp.net代码练习 work104
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work104{ public abstract class Animal { public abstract string Sound(); public string EatFood() { ret原创 2021-07-27 20:34:42 · 176 阅读 · 0 评论 -
asp.net代码练习 work103
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work103{ public class Animal { protected string name; public Animal(string name) { this.name = name;原创 2021-07-27 20:34:32 · 173 阅读 · 0 评论 -
asp.net代码练习 work102
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work102{ public abstract class Animal { protected string name; public Animal() { this.name = "Animal";原创 2021-07-27 20:34:18 · 242 阅读 · 0 评论 -
asp.net代码练习 work101
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work101{ public class Animal { public string say; public Animal() { this.say = "Animal 被构造 ";原创 2021-07-27 20:34:04 · 169 阅读 · 0 评论 -
asp.net代码练习 work100
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work100{ public class Animal { public string type; public string color; public string sound; } public cl原创 2021-07-27 20:33:50 · 172 阅读 · 0 评论 -
asp.net代码练习 work099
car.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work099{ public class Car { private string _carName; public void SetName(string name) { this._carName = n原创 2021-07-27 20:33:38 · 183 阅读 · 0 评论 -
asp.net代码练习 work098
car.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work098{ public class Car { public string GetCar() { return "CAR"; } } public class CarA : Car原创 2021-07-27 20:33:25 · 180 阅读 · 0 评论 -
asp.net代码练习 work097
userinfo.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work097{ public class UserInfo { public UserInfo() { } public string GetUserInfo(string name)原创 2021-07-27 20:33:14 · 178 阅读 · 0 评论 -
asp.net代码练习 work096
car.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work096{ public class Car { private string carNumber = "1001"; private string carType = "CAR"; public string GetCarIn原创 2021-07-27 20:32:56 · 221 阅读 · 0 评论 -
asp.net代码练习 work095
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work095{ namespace A { public class Animal { public string _name; } } //命名空间原创 2021-07-27 20:32:32 · 178 阅读 · 0 评论 -
asp.net代码练习 work094
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work094{ public class Animal { private string _type; public string Type { get {原创 2021-07-26 21:18:22 · 169 阅读 · 0 评论 -
asp.net代码练习 work093
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work093{ public class Animal { private string _type; public void SetType(string type) { this._type = ty原创 2021-07-26 21:17:04 · 186 阅读 · 0 评论 -
asp.net代码练习 work092
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work092{ public class Animal { public string _name; public Animal() { this._name = "动物";原创 2021-07-26 21:15:49 · 260 阅读 · 0 评论 -
asp.net代码练习 work091
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work091{ public class Animal { public string _name; //默认构造 public Animal() { this._name = "动物"原创 2021-07-26 21:14:50 · 170 阅读 · 0 评论 -
asp.net代码练习 work090
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work090{ //委托 public delegate void AnimalEventHandler(); public class Animal { public event AnimalEventHandler OnFly;原创 2021-07-26 21:13:13 · 196 阅读 · 0 评论 -
asp.net代码练习 work089
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work089{ public class Animal { public string output() { return "没有任何参数"; } public string outpu原创 2021-07-26 21:11:55 · 184 阅读 · 0 评论 -
asp.net代码练习 work088
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work088{ public class Animal { private int _age; //访问器 public int Age { get {原创 2021-07-26 21:10:03 · 180 阅读 · 0 评论 -
asp.net代码练习 work087
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work087{ public class Animal { public string color; //颜色 public bool haveFeather; //羽毛 public int age; //岁数 }原创 2021-07-26 21:08:31 · 180 阅读 · 0 评论 -
asp.net代码练习 work086
animal.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;namespace work086{ public class Animal { string color; public string get() { return this.color; } }原创 2021-07-26 21:07:01 · 182 阅读 · 0 评论 -
asp.net代码练习 work085
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work085.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-26 21:05:28 · 192 阅读 · 0 评论 -
asp.net代码练习 work084 使用Cache的示例
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work084.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-12 20:21:02 · 209 阅读 · 0 评论 -
asp.net代码练习 work083 类型转换优化
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work083.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-12 20:20:48 · 187 阅读 · 0 评论 -
asp.net代码练习 work082 String类和StringBuilder类的区别
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work082.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 21:13:33 · 210 阅读 · 0 评论 -
asp.net代码练习 work081 集合操作
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work081.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 21:12:06 · 216 阅读 · 0 评论 -
asp.net代码练习 work080 MD5加密的示例
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work080.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 21:10:07 · 219 阅读 · 0 评论 -
asp.net代码练习 work079 RSA加密与解密的示例
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work079.WebForm1" ValidateRequest="false" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server">&原创 2021-07-08 21:08:22 · 345 阅读 · 0 评论 -
asp.net代码练习 work078 DES加密解密的示例
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work078.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 21:06:22 · 243 阅读 · 0 评论 -
asp.net代码练习 work077
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work077.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 21:04:22 · 219 阅读 · 0 评论 -
asp.net代码练习 work075
3.html<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>{$RealName}的详细资料</title></head><body> <tabl原创 2021-07-08 21:02:37 · 227 阅读 · 0 评论 -
asp.net代码练习 work073
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work074.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 20:59:44 · 212 阅读 · 0 评论 -
asp.net代码练习 work072
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work072.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 20:58:20 · 179 阅读 · 0 评论 -
asp.net代码练习 work071
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work071.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-08 20:56:53 · 224 阅读 · 0 评论 -
asp.net代码练习 work070 文件系统演示
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work070.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-07 22:22:49 · 213 阅读 · 0 评论 -
asp.net代码练习 work069 使用微软office办公软件附带的OWC绘制报表的示例
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work069.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-07 22:20:57 · 218 阅读 · 0 评论 -
asp.net代码练习 work068 演示随机生成登录验证码
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work068.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-07 22:19:06 · 206 阅读 · 0 评论 -
asp.net代码练习 work067 使用GDI+生成图片
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work067.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-07 22:16:28 · 279 阅读 · 0 评论 -
asp.net代码练习 work066 GDI+,图片文件上传到数据库保存的示例
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="work066.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Cont原创 2021-07-07 20:45:07 · 228 阅读 · 0 评论 -
asp.net代码练习 work065 使用三层架构模式,模拟用户注册的示例,SqlDbHelper
entityusers1.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Entity{ /// <summary> /// 实体层,用户实体类 /// </summary> public class Users1 {原创 2021-06-05 22:01:49 · 312 阅读 · 0 评论