字号: font-size: 20px; 默认是16px px: 像素 rem em % 移动端使用的单位 字形: font-weight: bold; normal bold: 加粗 bloder: 更粗 lighter: 更细 也可用数字表示: 默认400; 100-700之间 inherits ...
分类:
其他好文 时间:
2018-07-12 14:39:13
阅读次数:
156
1.aspx页面的头部 **<%@ Page %>:页面本身也是一个对象,继承自Page,而<%@ Page %> 就是设置这个对象的属性用的。 **Language:C#语言 **AutoEventWireup:启动页面事件 **CodeBehind:代码后置,代码分离 **Inherits:继承 ...
分类:
Web程序 时间:
2018-07-04 17:38:01
阅读次数:
189
将编辑器作为用户控件 " runat="server" /> ...
分类:
其他好文 时间:
2018-06-13 11:54:03
阅读次数:
184
util是nodejs的一大核心模块,用来提供常用函数的集合 1.util.inherits(实现对象原型继承) 概要:js的继承是基于原型的,本身并没有继承的语言特性,仅仅是通过复制原型的方式来实现继承对象。 一、首先在nodejs的环境里引入util模块 const util = require ...
分类:
Web程序 时间:
2018-06-09 16:42:24
阅读次数:
168
1 <%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="admin_Main.aspx.cs" Inherits="admin_Main" %> 2 3 <html xmlns="http:/ ...
分类:
其他好文 时间:
2018-06-09 14:00:11
阅读次数:
219
<%@ Page%>是页面指令,作用于当前页面,指定使用语言、代码页等等。 eg:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Welcomewold.aspx.cs" Inherits="Welcomewold" %> 页面指令: ...
分类:
其他好文 时间:
2018-06-04 22:31:44
阅读次数:
198
通常我们看到局部刷新就会想到Ajax,但是我今天要说的是c#的一个控件,只要把服务器按钮和要刷新的区域放在该控件内就能实现局部刷新。 当然它必须和ScriptManager控件一起使用。 UpdatePanel重要的属性如下: 属性 说明 ChildrenAsTriggers 当UpdateMode ...
一、常用工具util util 是一个Node.js 核心模块,提供常用函数的集合,用于弥补核心JavaScript 的功能 过于精简的不足。 1、util.inherits util.inherits(constructor, superConstructor)是一个实现对象间原型继承的函数。 J ...
分类:
Web程序 时间:
2018-05-12 02:51:01
阅读次数:
213
//javascript_原型继承 //--------------------------------------代码1: 'use strict' function inherits(Child, Parent) { var F = function () {}; F.prototype = P... ...
分类:
编程语言 时间:
2018-05-04 17:08:47
阅读次数:
215
node(不推荐使用):a.代码:varinherits=require("util").inherits;functiona(){this.name="lee"}a.prototype.sex="male"functionb(){this.color="red"}b.prototype.height="168"functionc(){}inherits(c,a)inherits(c,b)varc
分类:
Web程序 时间:
2018-03-28 10:31:30
阅读次数:
239