上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要: 1.根据 url 和 encoding 获取当前url页面的 html 源代码 public static string GetHtml(string url, Encoding encoding) { HttpWebRequest request = null... 阅读全文
posted @ 2015-05-05 10:10 sulin 阅读(1109) 评论(0) 推荐(0)
摘要: 1.生成word代码 1 /// 2 /// 生成word文档 3 /// 4 /// 模板绝对路径 5 /// 模板保存路径(包含文件名称 后缀必须是docx) 6 ... 阅读全文
posted @ 2015-04-28 10:13 sulin 阅读(733) 评论(0) 推荐(0)
摘要: 1.下载最新版本的Microsoft Web Platform Installer 5.0。2.在组件列表中选择最新版本的 WebMatrix 3.0,安装重启后即可正常使用 IIS Express 调试项目了。 阅读全文
posted @ 2015-04-04 20:22 sulin 阅读(310) 评论(0) 推荐(0)
摘要: 1.下载需要文件包:http://xheditor.com/2.解压文件中文件 xheditor-zh-cn.min.js以及xheditor_emot、xheditor_plugins和xheditor_skin三个文件夹到网站相应文件夹中3.引入相关文件4.调用方式示例:直接添加class 属性... 阅读全文
posted @ 2015-03-27 17:22 sulin 阅读(925) 评论(0) 推荐(0)
摘要: SELECT 表名=case when a.colorder=1 then d.name else '' end, 表说明=case when a.colorder=1 then isnull(f.value,'') else ... 阅读全文
posted @ 2015-03-13 15:10 sulin 阅读(394) 评论(0) 推荐(0)
摘要: 1.array_slice()函数作用是在数组中根据条件取出一段值并返回,如果数组有字符串键,所返回的数组将保留健名array array_slice(array array ,int offset [,int length [,bool] preserve_keys]])第一个参数是必须的,调用输... 阅读全文
posted @ 2015-01-31 22:58 sulin 阅读(287) 评论(0) 推荐(0)
摘要: 一.数组的键值操作函数1.array_values() 函数作用是返回数组中所有元素的值,只有一个参数,规定传人给定数组,返回一个包含给定数组中所有值的数组,但不保留键名 被返回的数组将使用顺序的数值键重新建立索引,从0开始且以1递增。示例:$arraycontact=array("ID"=>1,"... 阅读全文
posted @ 2015-01-27 23:57 sulin 阅读(201) 评论(0) 推荐(0)
摘要: 1.PHP 预定义的超全局变量数组 特性: a.特殊的数组,操作方式没有区别 b.不用声明,php脚本中默认存在,因为在php中不用定义,所以在自定义变量是应避免和预定的全局变量同名 c.在全局范围内自动生效,即在函数中直接就可以使用,不用使用global关键字访问2.超全局变量数组a.$_S... 阅读全文
posted @ 2015-01-24 20:28 sulin 阅读(247) 评论(0) 推荐(0)
摘要: 1.约束作用: 约束的目的就是确保表中的数据的完整性2.常用的约束类型如下 主键约束:(Primary Key constraint) 要求主键列唯一,并且不允许为空 唯一约束:(Unique Constraint) 要求该列唯一,允许为空,但只能出现一个空值 检查约... 阅读全文
posted @ 2015-01-13 15:09 sulin 阅读(1455) 评论(0) 推荐(0)
摘要: /// /// 中缀表达式到逆波兰表达式的转换及求值 /// public class RpnExpression { #region 定义属性 int Top = -1; ... 阅读全文
posted @ 2014-12-22 22:04 sulin 阅读(3850) 评论(1) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页