
c#
虾米大王
努力学习
-
原创 vs2015 dynamicweb11-1 .NET PET SHOP宠物商店完整项目代码
此练习为一个完整的项目代码,含有用户注册、用户登录、宠物商品列表、购物车、结算、个人信息更新等功能。在项目根目录,先创建App_Themes文件夹,其内建立一个文件夹PetShop1,内含一个css主题样式文件。stylesheet1.css/*********网页公共部分*********/*, html, body { margin:0; padding:0;}body { background-color:#e3e5dc; margin:0;2021-04-10 21:06:3910
0
-
原创 vs2015 dynamicweb9-3 treeview和sitemap的使用
web.sitemap<?xml version="1.0" encoding="utf-8" ?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="~/WebForm1.aspx" title="主页" description="主页"> <siteMapNode url="~/SignIn.aspx" title2021-04-08 09:18:246
0
-
原创 vs2015 dynamicweb9-1 sitemap和menu的使用
web.sitemap<?xml version="1.0" encoding="utf-8" ?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="~/Default.aspx" title="主页" description="主页"> <siteMapNode url="~/SignIn.aspx"2021-04-08 09:18:143
0
-
原创 vs2015 dynamicweb8-15 DropDownList配合ado.net编程方式进行查询的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_15.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-07 09:16:221
0
-
原创 vs2015 dynamicweb8-14 DataSet绑定gridview的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_14.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-07 09:16:095
0
-
原创 vs2015 dynamicweb8-13 SqlDataReader的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_13.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-06 09:21:553
0
-
原创 vs2015 dynamicweb8-12 gridview 删除功能使用同时删除从表的数据
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_12.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-06 09:21:393
0
-
原创 vs2015 dynamicweb8-11 DetailsView的编辑模式使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_11.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-06 09:21:224
0
-
原创 vs2015 dynamicweb8-10 gridview CommandField 删除的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_10.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-05 10:13:1516
0
-
原创 vs2015 dynamicweb8-9 EditItemTemplate的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_9.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-05 10:12:5416
0
-
原创 vs2015 dynamicweb8-8
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_8.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-05 10:12:4113
0
-
原创 vs2015 dynamicweb8-7 数据源控件的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_7.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-04 10:01:312
0
-
原创 vs2015 dynamicweb8-6 sqldatasource数据源控件和gridview控件的使用
需要使用可视化方式配置数据源控件的链接。webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_6.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"&g2021-04-04 10:01:192
0
-
原创 vs2015 dynamicweb8-4 ado.net SqlDataSource数据源控件的使用
需要使用可视化设计方式,配置sqldatasource数据源控件的连接。最终代码结果如下:webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb8_4.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml">2021-04-04 10:01:031
0
-
原创 vs2015 dynamicweb7-8 主题样式换肤的使用
项目根目录新建文件夹App_Themes,其下新建2个文件夹,分别为Blue,Green,然后对两个文件夹,各自新增 .skin .css文件。blue中skinfile1.skin<asp:TextBox runat="server" BackColor="#99ccff" ForeColor="#6666ff" /><asp:TextBox runat="server" SkinID="txtYellow" BackColor="LightYellow" />2021-04-03 10:48:184
0
-
原创 vs2015 dynamicweb7-1 主题样式如何使用
项目中添加App_Themes文件夹,其下添加Green文件,文件夹中增加2个文件,分别为 .skin .cssskinfile1.skin<%-- 3、建立主题文件夹App_Themes,增加SkinFile1.skin文件,在文件内添加控件主题样式--%><asp:TextBox runat="server" BackColor="#ccffcc" ForeColor="#666699" /><asp:Button runat="server" Back2021-04-03 10:47:583
0
-
原创 vs2015 dynamicweb6-3
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb6_3.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-03 10:47:4520
0
-
原创 vs2015 dynamicweb6-1 模拟用户注册
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb6_1.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-03 10:47:3319
1
-
原创 vs2015 dynamicweb4-8
webform1.aspx.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace dynamicweb4_8{ public partial class WebForm1 : System.Web.UI.Page { Pa2021-04-03 10:47:2218
0
-
原创 vs2015 dynamicweb4-7
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb4_7.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-03 10:47:0918
0
-
原创 vs2015 dynamicweb4-6
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb4_6.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-02 09:56:075
0
-
原创 vs2015 dynamicweb4-5
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb4_5.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-02 09:53:225
0
-
原创 vs2015 dynamicweb4-4
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb4_4.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-02 09:51:544
0
-
原创 vs2015 dynamicweb4-3
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb4_3.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-02 09:50:304
0
-
原创 vs2015 dynamicweb4-2
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb4_2.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-02 09:49:103
0
-
原创 vs2015 dynamicweb4-1
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb4_1.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-04-02 09:47:033
0
-
原创 vs2015 dynamicweb3-17 闰年
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_17.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-02 09:41:535
0
-
原创 vs2015 dynamicweb3-16
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_16.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-02 09:40:123
0
-
原创 vs2015 dynamicweb3-15 类继承
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_15.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-02 09:38:243
0
-
原创 vs2015 dynamicweb3-14 类
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_14.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi2021-04-02 09:36:133
0
-
原创 asp.net page_load中自动生成控件,解决上下文不存在问题的示例
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace dynamicweb4_8{ public partial class WebForm1 : System.Web.UI.Page { Panel plContent; .2021-03-26 16:28:2511
0
-
原创 jquery <table>中选中一行,行背景色改变
css文件中.lineColor{ background-color: #eeeeee;}js文件中function TableRowSelectColor(clsName) { $(clsName).find("tr").click(function () { var rows = $(this).parent().find("tr"); if(rows.hasClass("lineColor")) {2021-03-25 16:37:2611
0
-
原创 vs2015 dynamicweb3-5 delegate代理
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_5.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-03-21 22:08:076
0
-
原创 vs2015 dynamicweb3-4 数组的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_4.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-03-21 21:37:154
0
-
原创 vs2015 dynamicweb3-3 枚举类型
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_3.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-03-21 21:26:476
0
-
原创 vs2015 dynamicweb3-2 结构类型
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_2.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv2021-03-20 22:43:0013
0
-
原创 vs2015 dynamicweb3-1 计算圆的面积
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicweb3_1.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equi.2021-03-20 22:31:0522
0
-
原创 asp.net 4.5 练习~test17-9
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="test17_9.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Con2021-03-18 10:04:335
0
-
原创 asp.net 4.5 练习~test17-8 ajax webservice 实现四则运算
webservice1.asmxusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Services;namespace test17_8{ /// <summary> /// WebService1 的摘要说明 /// </summary> [WebService(Namespace =2021-03-17 18:12:424
0
-
原创 asp.net 4.5 练习~test17-5 ajax Timer的使用
webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="test17_5.WebForm1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Con2021-03-17 16:59:495
0