06 2020 档案
摘要:->select查询详解*********** select distinct\top ... --(5)投影 from -- (1)找到表 where -- (2)过滤掉我们不需要的数据 group by --(3)分组操作 having --(4)对分组后的数据进行过滤。 order by --
阅读全文
摘要:网页制作: 代码:Index <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
阅读全文
摘要:代码:开学典礼代码练习, <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <
阅读全文
摘要:1,Style类属性用于设置元素边框的样式。可以使之为none、dotted(点线)、dashed(虚线)、solid(实现)、double(双线)、groove(凹槽)、ridge(凸槽)、inset(凹边)、outset(凸边)。 布局: 2,Display:inline|block|none
阅读全文
摘要:位置属性:代码: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <titl
阅读全文
摘要:1,CSS当中的样式属性详解 Css当中的属性非常多,大体上可以分为以下几类:字体、背景、文本、位置、布局、边缘、列表。 1)、字体 字体的属性主要包括文字的字体、大小、颜色、显示效果等基本样式,下面是各种字体属性的详细介绍。 Font-family:该属性用于设置字体系列。 Font-size:该
阅读全文
摘要:1、样式规则的选择器(通过怎样的途径来获得页面上要设置样式的元素) 1)、HTML Selector 2)、Class Selector (需要给要设置样式的元素的class属性赋值) 3)、ID Selector (需要给要设置样式的元素的id属性赋值) 4)、关联选择器 P EM{text-in
阅读全文
摘要:1、CSS是Cascading Style Sheet这个几个英文单词的缩写,翻译成中文是“层叠样式表”的意思。CSS能让网页制作者有效的定制、改善网页的效果。CSS是对HTML的补充,网页设计师曾经为无法很好的控制网页的显示效果而倍感苦恼,CSS的出现解决了这个问题。 Css实现了网页内容和页面效
阅读全文
摘要:代码: <!DOCTYPE html> <html xmlns="http://www.ws.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></
阅读全文
摘要:html表单使用于搜集用户输入的 html表单都扩在一对form标签中 <from>的常用属性 action 表示提交的目标服务器 method 提交的方法get,post get(默认,以url提交,就是以地址栏的方式提交) post(通过报文提交) <html> <head> <title>Fo
阅读全文
摘要:练习表: 代码: <html> <head> <title>表格练习</title> </head> <body> <table border="1px" cellpadding="0px" cellspacing="0px" height="220px" width="500px"> <tr> <
阅读全文
摘要:什么是跨行跨列的表格,使用colspan和rowspan属性 <html> <head> <title>跨行跨列的表格</title> </head> <body> <table border="1px" height="240px" width="500px" cellpadding="0px"
阅读全文
摘要:表格的作用: 在html文档中,广泛使用表格来存放网页上的文本和图像进行布局 表格的语法: <table border="1"> <tr> <td>单元格内容</td> </tr> <tr> ... </table> <html> <head> <title>表格</title> </head> <
阅读全文
摘要:html列表: 无序列表unorder(原点) 有序列表order(数字) 自定义列表 <dl>项目号,解释<dt>c#</dt><dd>很基础的内容</dd></dl> <html> <head> <title>列表</title> </head> <body> <!--type:square c
阅读全文
摘要:属性: 1,text属性:(文本的颜色) 2,link属性:(链接的颜色)(如果设置为白色谁都看不见) 3,alink属性(active点击的时候链接的颜色) 4,vlink属性(visited点击之后的颜色) 5,bgcolor属性(背景颜色) 6,background属性(背景图片,平铺) 代码
阅读全文
摘要:代码如下: <html> <head> <title>A标签的使用</title> </head> <body> <!--href表示要的路径 name表示A标签的一个标示 target标示打开新页面方式--> <a href="http://www.baidu.com" target="_blan
阅读全文
摘要:常用的标签代码: <html> <head> <title>exercese1</title> </head> <body> <h1>促销信息</h1> <img src="C:\Users\SpringRain\Desktop\1.jpg" title="好看的桌面" /> 人生自古谁无死,留取丹
阅读全文
摘要:网页中常见的标签代码: <html> <head> <title>网页中常用的标签</title> </head> <body> <p>床前明月光,疑是地上霜。</p> <p>举头望明月,我叫郭德纲。</p> 床前明月光,疑是地上霜。<br/> 举头望明  
阅读全文
摘要:html的标签大概如下: <!--> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <b> <base> <basefont> <bdo> <big> <blockquote> <body> <br> <button> <capt
阅读全文
摘要:什么是 HTML? HTML 是用来描述网页的一种语言。 HTML 指的是超文本标记语言 (Hyper Text Markup Language) HTML 不是一种编程语言,而是一种标记语言 (markup language) 标记语言是一套标记标签 (markup tag) HTML 使用标记标
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 字段与属性 { class Program {
阅读全文
摘要:代码 : using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 封装 { class Program
阅读全文
摘要:泛型的模板: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 泛型List { /// <sum
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 对象初始化器 { /// <summary> /
阅读全文
摘要:构造方法:1,用于初始化,一个类中最少有一个2,用new关键字调用3,不能有返回值4,方法名和类名一样 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System
阅读全文
摘要:方法重载: 需求:解决多个同类型方法的命名的问题 好处:方便使用编译器判断的依据:1,方法同名 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thr
阅读全文
摘要:方法的定于与使用:方法:实例方法,静态方法(构造方法,抽象方法,虚方法,扩展法)定义规范:访问修饰符,返回值类型 方法名(参数1,参数2,参数3。。。){在这里我们要做的事件return返回值(没有返回值就不用写return语句,有返回值就一定要写return语句)}方法命名:Pascal命名法,首
阅读全文
摘要:类与对象: 对象:万物皆对象 类:类就是一个模板 静态特征:用来描述对象状态(属性) 动态特征:行为,用来操作对象的状态(方法) 代码: using System; using System.Collections.Generic; using System.Linq; using System.T
阅读全文
摘要:数组4大定义: /// 1,数据有什么用?在同时声明多个同类型的变量的时候,非常适合 /// 2,数组定义 /// 3,数组的使用 /// 4,优点:效率高,使用方便 using System; using System.Collections.Generic; using System.Linq;
阅读全文
摘要:代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace while循环语句 { /// <sum
阅读全文
摘要:代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace for循环语句2 { class Pro
阅读全文
摘要:for循环语句的固定代码是: for(int i=0;i<length;i++) { } (初始化第一次执行,并且只执行一次,计数器第一次不执行:因为第一次知道自己的值) using System; using System.Collections.Generic; using System.Lin
阅读全文
摘要:第一步:新建项目,选择平台(windows)项目选择(桌面)选择:windows窗口应用程序 名称自己写一下,创建成功后出来的页面是: 设计窗体: Lide:显示文字 Button:输入窗体 TextBox:用来输入文字 font:修改文字大小 双击dutton添加代码: using System;
阅读全文
摘要:if-else语句:if是如果的意思,else是其他情况的意思 代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks
阅读全文
摘要:运算符有以下几种: 算数运行符:+ — * %(取余) 关系运算符:> >= < <= ==(等于) !=(不等于) 逻辑运算符:&&(与) ||(或) !取反(非) 赋值运算符:=(赋值) 逻辑运算符:&&(与):当两个条件都为true才会true,否则都为false ||(或):当两个条件都为f
阅读全文
摘要:1--pascal 帕斯卡命名法:第一个单词首字母大写,在类,方法,属性 2--camel 驼峰命名法:第一个单词首字母小写,变量,参数 3--c#命名规则: (1)只能用下划线,字母,数字无线组成,(2)不可以使用保留字 (3)见名知意 using System; using System.Col
阅读全文
摘要:变量: int表示整数 double表示带小数点的 char表示单个字符 string表示在存储字符串的变量 bool表示判断真假 using System; using System.Collections.Generic; using System.Linq; using System.Text
阅读全文
摘要:代码加注释是为了大家可以更加阅读代码 单行注释: //+注释语句 多行注释 /*多行注释注释语句*/ 文档注释 方法类注释(解释类或方法的主要功能,参数详解)
阅读全文
摘要:using System;//using 引入的意思 System命名空间 using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace
阅读全文
摘要:第一步打开vs2019然后创建新项目 点击右上角平台windows 点击下一步找到这个控制台应用程序 新出的界面就是一下的 在选项中调色,经量选择浅色对眼睛好 我们写的项目都在文件中的这个文件中双击打开
阅读全文
摘要:安装流程:进入微软官方安装在右上角的所有Microsoft里点击visual studio然后找到安装 只需要安装6个 然后等待安装成功就行
阅读全文