- 博客(22)
- 问答 (1)
- 收藏
- 关注
原创 List<>复合集合操作
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 测试控制台{ public class 复合集合 { public static void c()
2017-10-30 14:33:42
955
原创 自定义$插件注意事项
/*注:1,命名:jquery.{diy}.js 2, “jQuery.fn”是“jQuery.prototype”的简写 3,自执行匿名函数(function(){代码})();防止污染全局命名空间,同时不会和别的代码冲突;4,我们在代码开头加一个分号,防止别人使用时,别人的代码方法后没有分号而导致出错;5最后我们得到一个非常安全结构良好的代码:加入window等是防
2017-10-12 14:32:23
380
原创 自定义jquery插件基本形式
一,插件js//闭包限定命名空间(function ($) { $.fn.treeview = function (settings) { debugger var dfop = { color: '#ff9966' }; var opts = $.extend(dfop, settings.op
2017-10-11 14:05:17
314
原创 $——jquery小结
====================jquery==========================0,$()==jquery()1.jQuery 语法 :$(selector).action()2. 几乎可以选择任何想要的元素及组合元素。【元素选择器】$("p#demo").选取所有 id="demo" 的 元素。【属性选择器】$("[href]").选取所有带有 href 属性
2017-09-08 12:39:00
236
原创 c#总结4
1,Convert.ToInt32(null)会返回0而不会产生任何异常,但int.Parse(null)则会产生异常。(int)3.3=3 写法简单对于double类型适合。int.Parse("3.3")Convert.ToInt32(null)返回0总结:(1)Convert.ToInt32的参数比较多,Int.Parse只能转换string类型的.(2)Parse就是把Str
2017-09-08 12:34:33
468
原创 林学——知识点1
【二类调查】森林资源 规划设计调查。包括区划,调查,资源统计分析。林班是资源统计单位。10年。【一类调查】国家森林资源 连续清查。目的:掌握宏观森林资源现状与动态。以省为单位. 固定样地为主,定期复查。5年【】三北防护林、京津冀防沙工程、【植物界】 1. 裸藻门Euglenophyta 2. 绿藻门Chlorophyta 3. 轮藻门Charophyta
2017-09-08 12:33:19
351
原创 js小结
【 for/in】 语句:循环遍历对象的属性。for循环in(遍历)某对象.for (x in person) for (变量 in 对象) { 在此执行代码 }【innerHTML】属性。几乎所有的元素都有innerHTML属性,获取HTML当前标签的起始和结束 里面的内容。 document.getElementById("demo").innerHTM
2017-09-08 12:32:32
208
原创 VBA之excel小结
0】变量Dim intX 未声明类型则为VarDim intZ As Integer 为整型 Dim intS%Dim strS As String 为整型 Dim strS$Dim dbS As Double 为整型 Dim dbS#Dim rng as Range Set r1 = Range("A1:B2")b = 1 Range("a" & b).Sel
2017-09-08 12:31:30
306
原创 c#爬虫三类
-----------------提取网页内容----------------1】> WebClient wc = new WebClient(); wc.Encoding = Encoding.UTF8; string str = wc.DownloadString("http://tieba.baidu.com/p/2314539885");//下载页面中所有的字符串
2017-09-08 12:27:18
261
原创 sql总结——oracle
1】SQL:结构化查询语言(Structured Query Language)2】-----------------------------------------------------------------在15(所建库端) 登录pl/sql 用超级用户登录并执行sql#sys *sys SYSDBA———————————————建表空间——————————
2017-09-08 12:25:19
505
原创 正则表达式小结
正则表达式:regex 英 ['redʒeks]1,\d\d\d\d或者是\d{4} 表示匹配4位数的数字。2.代码 说明。这些可被称作元字符。. 匹配除换行符以外的任意字符1%*_jk2YH$#@Jj\w 数字字母汉字下划线 bst456_5ghgtft\s 匹配任意的空白符 space table键和半全角空格\d 匹配数字 digit
2017-09-08 12:18:30
273
原创 asp.net 导出Excel 在Firefox中中文乱码的解决方法
1,程序集:AppLibrary //保存的文件名 #region 解决火狐导出乱码问题 if (Request.ServerVariables["http_user_agent"].ToLower().IndexOf("firefox") != -1) { doc.F
2017-09-04 09:54:34
459
原创 c#后台移除某个元素方法总结
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 测试控制台{ public class 移除元素 { public void c() {
2017-08-26 14:33:44
1708
原创 解决浏览器右键复制限制js
javascript:(function(){eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[2-9a-hjk]'}
2017-08-26 14:21:46
2959
1
原创 林学——安徽四旁树占地面积折算标准
四旁树占地面积折算标准调整表 单位:株/公顷树种(组)2003年实施细则2012年实施细则调整幅度 %针叶树3000225025.0 杨类、泡桐90075016.7 其他阔叶树种165015009.1
2017-08-26 14:20:00
2547
原创 Bootstrap常用样式类(v3.3.4)
0,字体大小.h1{font-size:36px}.h2{font-size:30px}.h3{font-size:24px}.h4{font-size:18px}.h5{font-size:14px}.h6{font-size:12px}1,字体颜色.text-muted{color:#777}.text-primary{color:#337ab7}.tex
2017-08-26 14:12:06
440
原创 C# List<>集合基础操作
using System;using System.Collections.Generic;using System.Text.RegularExpressions;using System.Linq;namespace 测试控制台{ class Program { static void Main(string[] args) {
2017-08-11 10:49:38
1602
原创 C#正则表达式Regex类的使用
using System.Text.RegularExpressions;namespace 测试控制台{ class Program { static void Main(string[] args) { string str = "666"; string str3 = "101,102,103
2017-08-06 18:28:07
302
转载 Oracle 游标示例
一,建表create table dept( deptno number(10) primary key, dname varchar2(30), loc varchar2(30));create table emp( empno number(10) primary key, ename varchar2(30),
2017-04-21 10:33:32
488
原创 Oracle有关树的查询
1,查询所有节点select * from busi_jgrs start with id = '1' connect by prior id = pid;start with id = '1'意思是以id为1开始。2,查询末节点 select * from busi_jgrs where id in (select id from (select id, CONNE
2017-03-13 17:12:21
253
原创 C#总结笔记
1,Convert.ToInt32(null)会返回0而不会产生任何异常,但int.Parse(null)则会产生异常。(int)3.3=3 写法简单对于double类型适合。int.Parse("3.3")Convert.ToInt32(null)返回0总结:(1)Convert.ToInt32的参数比较多,Int.Parse只能转换string类型的.(2)Parse
2017-03-11 16:46:25
489
空空如也
我的vs在拆分时,出错,不显示可视化界面? vs2010
2016-09-09
TA创建的收藏夹 TA关注的收藏夹
TA关注的人