C++

<![CDATA]>

CDATA的形式如下:<![CDATA[文本内容]]>CDATA的文本内容中不能出现字符串“]]>”,另外,CDATA不能嵌套。在XHTML中,小于、大于和双引号必须分别用这三个字符的XML实体&lt;、&gt;和&quot;替换它们:在JavaScri...
代码星球·2020-05-05

PerformanceCounter 详解,使用方法

这两天写代码控制CPU的占用率,显示为一条直线或者曲线,显示为一条直线的时候用到了PerformanceCounter这个类。由于对这个类还是很感兴趣的,在网上找了一些资料也不是很清楚。就自己研究了一下。首先,PerformanceCounter分为各个category,每个category对应不同类型的资源,一般有"...

ResetEvent、CreateEvent、SetEvent

http://hi.baidu.com/naxiaohe010/blog/item/ee8f54acc29550f6faed5053.html  ResetEvent      这个函数把指定的事件对象设置为无信号状态。 &nbs...

Html.RenderPartial和Html.RenderAction的区别

添加一个PartialController控制器1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Linq;4usingSystem.Web;5usingSystem.Web.Mvc;67namespaceMvcValidateDemo.Control...

ComboTree( 树型下拉框) 组件

本节课重点了解EasyUI中Tree(树)组件的使用方法,这个组件依赖于Combo(下拉框)和Tree(树)组件。一.加载方式//class加载方式<selectid="cc"class="easyui-combotree"data-options="url:'tree.json',required:true"&...

ComboGrid( 数据表格下拉框)

一.加载方式//class加载方式<selectid="box"class="easyui-combogrid"name="dept"data-options="panelWidth:450,value:'请选择一个值',idField:'id',textField:'user',url:'content.jso...

ComboBox( 下拉列表框)

一.加载方式//class加载方式<selectid="box"class="easyui-combobox"name="box"><optionvalue="aaaa">aaaa</option><optionvalue="bbbb">bbbb</option&g...
代码星球·2020-05-03

Calendar( 日历)

本节课重点了解EasyUI中Canlendar(日历)组件的使用方法,这个组件不依赖于其他组件。一.加载方式//class加载方式<divid="box"class="easyui-calendar"></div>//JS加载调用$('#box').calendar({}); 二.属性...
代码星球·2020-05-03

Combo( 自定义下拉框) 组件

本节课重点了解EasyUI中Combo(自定义下拉框)组件的使用方法,这个组件依赖于ValidateBox(验证框)组件 一.加载方式自定义下拉框不能通过标签的方式进行创建。<inputid="box">//JS加载调用$('#box').combo({required:true,multiple...

SearchBox( 搜索框) 组件

一.加载方式//class加载方式<inputid="ss"class="easyui-searchbox"data-options="searcher:qq,prompt:'PleaseInputValue',menu:'#box'"></input><divid="box">&l...
代码星球·2020-05-03

Accordion( 分类) 组件

一.加载方式//class加载方式<divid="box"class="easyui-accordion"><divtitle="accordion1">accordion1</div><divtitle="accordion2">accordion2</div&g...
代码星球·2020-05-03

mvc自带的异步表单提交

 1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Linq;4usingSystem.Web;5usingSystem.Web.Mvc;67namespaceMvcValidateDemo.Controllers8{9publicclass...

MVC校验

新建一个Model1usingSystem;2usingSystem.Collections.Generic;3usingSystem.ComponentModel.DataAnnotations;4usingSystem.Linq;5usingSystem.Web;67namespaceMvcValidateDemo...
代码星球·2020-05-03

用MVC4练习,后台用aspx,数据库DemoDb《MvcUserDemo》

将ado.net的cs文件SqlHelper.cs放入解决方案1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Linq;4usingSystem.Text;5usingSystem.Configuration;6usingSystem.Data.Sq...

Go微服务 grpc/protobuf

 了解grpc/protobufgRPC是一个高性能、通用的开源RPC框架,其由Google主要面向移动应用开发并基于HTTP/2协议标准而设计,基于ProtoBuf(ProtocolBuffers)序列化协议开发,且支持众多开发语言。gRPC提供了一种简单的方法来精确地定义服务和为iOS、Android和后...
代码星球·2020-05-03