摘要: 使用CREATE 语句创建索引CREATE INDEX index_name ON table_name(column_name,column_name) include(score)普通索引CREATE UNIQUE INDEX index_name ON table_name (column_n 阅读全文
posted @ 2017-11-20 10:54 萌橙 阅读(70502) 评论(7) 推荐(9) 编辑
摘要: begin catch 。。。end catch 是用来处理异常的 begintry--SQLendtry begincatch--sql (处理出错动作)endcatch我们将可能会出错的sql 写在begin try...endtry 之间,若出错,刚程序就跳到紧接着的begin try...e 阅读全文
posted @ 2017-11-20 10:47 萌橙 阅读(3524) 评论(0) 推荐(0) 编辑
摘要: 常用正则表达式 一、校验数字的表达式 1 数字:^[0-9]*$2 n位的数字:^\d{n}$3 至少n位的数字:^\d{n,}$4 m-n位的数字:^\d{m,n}$5 零和非零开头的数字:^(0|[1-9][0-9]*)$6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0 阅读全文
posted @ 2017-11-09 09:34 萌橙 阅读(173) 评论(0) 推荐(0) 编辑
摘要: #grad { background: -webkit-linear-gradient(left,rgba(255,0,0,0),rgba(255,0,0,1)); /* Safari 5.1 - 6 */ background: -o-linear-gradient(right,rgba(255, 阅读全文
posted @ 2017-10-31 14:26 萌橙 阅读(208) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Web;using System.Web.Caching; namespace DC.Website.MVC5.Helpers{ public c 阅读全文
posted @ 2017-10-26 09:11 萌橙 阅读(159) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;using Xfrog.Net;using System.Diagno 阅读全文
posted @ 2017-10-24 10:58 萌橙 阅读(262) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data.SqlClient;using System.Data;using DC.BE.Entity; namespace DC.BE.Busi 阅读全文
posted @ 2017-10-16 11:36 萌橙 阅读(189) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;using System.Configura 阅读全文
posted @ 2017-10-16 11:35 萌橙 阅读(330) 评论(0) 推荐(0) 编辑
摘要: USE [SYCN]GO/****** Object: StoredProcedure [dbo].[udt_page] Script Date: 2017/10/13 17:27:37 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO alt 阅读全文
posted @ 2017-10-16 11:33 萌橙 阅读(176) 评论(0) 推荐(0) 编辑
摘要: C#,单元测试入门(以下内容可能来自网络) 一、什么叫单元测试(unit testing)? 是指对软件中的最小可测试单元进行检查和验证。对于单元测试中单元的含义,一般来说,要根据实际情况去判定其具体含义,如C语言中单元指一个函 数,Java里单元指一个类,图形化的软件中可以指一个窗口或一个菜单等。 阅读全文
posted @ 2017-09-20 09:12 萌橙 阅读(1271) 评论(0) 推荐(0) 编辑