-----日积月累-----

127.0.0.1 php连接数据库的本机IP地址
Console.ForegroundColor = ConsoleColor.Blue;//字符颜色
Random rand = new Random();
int a = rand.Next(范围值如:99——0-98之间的随机值);
#region 分段命名 开始
#endregion 结束
求和公式 S100=S99+100; S n = (n-1) +100;
//冒泡排序
int[] shuzu = new int[10] { 1, 3, 5, 7, 9, 2, 4, 6, 8, 10 };
for (int i = 0;i<shuzu.Length ;i++ )
{
for (int k = i;k<shuzu.Length-1 ;k++ )
{
if(shuzu[i]<shuzu[k+1])
{
int s = shuzu[i];
shuzu[i] = shuzu[k + 1];
shuzu[k + 1] = s;

}

 

http//www.gov.cn/guowuyuan/index.htm
}
}
//遍历数组
foreach(int a in shuzu)
{
Console.WriteLine(a);
}

 

 

 

超链接的状态形式:
a:link(鼠标点击前)
{
text-decoration:none;(无下划线)
color:#000;(点击前链接的颜色)
}
a:visited(点击后所显示的颜色)
{
text-decoration:none;(无下划线)
color:#F00;(点击后所显示的颜色)
}
a:hover(鼠标放上不点击时的颜色)
{
text-decoration:underline;(有下划线)
color:#CF0;(鼠标放上不点击链接时的颜色)
}
a:active(点击不松开时的颜色)
{
text-decoration:underline;(有下划线)
color:#6F0;(点击不松开时的颜色)
}

 

div去棱角变圆角
-webkit-border-radius="" 死格式
jquery-1.4.2 $符的前提

 

<bgsound src=""> 插入背景音乐


1.增加内容
insert into Info values('p001','张三',true,'n001','1989-2-3')
insert into Info (Code,Name) values('p002','李四');

2.删除数据
delete from Info where Code = 'p002'

3.修改数据
update Info set Name='李四' where Code='p001'

4.查询数据

(1)简单查询
select * from Info
select Code as '代号',Name as '姓名' from Info

(2)条件查询
select * from Car where Code='c002'
select * from Car where Brand='b001' and Powers=130 或者用or

(3)模糊查询
select * from Car where Name like '%奥迪%' %代表任意多个字符 _代表一个字符


background-size:cover; 背景图片填充

原文地址:https://www.cnblogs.com/hanqishihu/p/5733295.html