摘要: 1.IIS下配置自己的网站,添加主机名 2.修改hosts文件(C://Windows/System32/drivers/etc) 3.VS中配置项目Web服务器(选择外部主机) 阅读全文
posted @ 2017-06-16 17:28 Aquaris 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 1.abs函数取数值表达式的绝对值 2.ceiling函数取大于等于指定表达式的最小整数 3.floor函数取小于等于指定表达式的最大整数 4.power函数取数值表达式的幂值 5.round函数将数值表达式四舍五入为指定精度 6.sign函数对正数取1,负数取-1,0取0 7.sqrt函数取数值表 阅读全文
posted @ 2017-04-24 15:40 Aquaris 阅读(464) 评论(0) 推荐(1) 编辑
摘要: 1.单一职责原则(对象职责明确原则) 要求:一个对象只做好一件事情,必须专注,职责过多容易引起变化的原因就多,程序就不稳定。(高内聚,低耦合的延伸) 2.开放封闭原则(核心原则) 要求:需求变化时尽量少的修改类的设计,而是通过扩展类来完成。即封闭修改,开放扩展 3.依赖倒置原则(面向对象的精髓) 要 阅读全文
posted @ 2017-04-24 15:13 Aquaris 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 1.charindex函数用来寻找一个指定的字符(串)在另一个字符串中的起始位置,返回一个整数,没找到就返回0. 2.len返回字符串的长度 3.lower函数将给定字符串的大写转换成小写 4.upper函数将给定字符串的小写转换成大写 5.ltrim函数去除字符串左边的空格 6.rtrim函数去除 阅读全文
posted @ 2017-04-20 14:39 Aquaris 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 1.Character 字符串: 2.Unicode字符串: 3.Binary类型: 4.Number类型: 固定精度和比例的数字。允许从 -10^38 +1 到 10^38 -1 之间的数字。 p 参数指示可以存储的最大位数(小数点左侧和右侧)。p 必须是 1 到 38 之间的值。默认是 18。 阅读全文
posted @ 2016-12-29 13:31 Aquaris 阅读(316) 评论(0) 推荐(1) 编辑
摘要: 最近刚刚接触DHtmlx这个js组件,对它还不是太了解,还在学习中,算是记录自己学习该组件的历程吧。 首先xml文件里有一个grid,有对应的checkbox,通过 获取第一列中选中的行的id列表。在通过 根据选中行的id获取第9列的值(当然了,这样写是因为selectedId中只有一个值)。 阅读全文
posted @ 2016-11-22 16:20 Aquaris 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: delete from A where UserName in (select UserName from A group by UserName having count(UserName)>1) and UserID not in (select min(UserID) from A group 阅读全文
posted @ 2016-11-03 10:07 Aquaris 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 大致分为两种情况:ID连续和ID不连续。 1.ID连续的情况: select * from A where ID between 31 and 40 2.ID不连续的情况: (1).两次对表查询,效率较低。 select top 10 * from A where ID not in (select 阅读全文
posted @ 2016-11-03 10:03 Aquaris 阅读(568) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 斐波那契数列求和 { class Program 阅读全文
posted @ 2016-11-03 09:53 Aquaris 阅读(3579) 评论(1) 推荐(0) 编辑
摘要: 用了两种形式的数据,一个是泛型List,一个是数据int[]。记录一下,作为自己学习过程中的笔记。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T 阅读全文
posted @ 2016-11-03 09:50 Aquaris 阅读(466) 评论(0) 推荐(1) 编辑