可以这样写: date.ToString("yyyy年MM月", DateTimeFormatInfo.InvariantInfo) 日期转化二 DateTime dt = DateTime.Now; Label1.Text = dt.ToString();//2005-11-5 13:21:25 ...
分类:
其他好文 时间:
2014-07-06 14:42:20
阅读次数:
124
10.mime-mapping:mime-mapping包括两个子元素extension和mime-type.定义某一个扩展名和某一MIME Type做对映.MIME(Multipurpose Internet Mail Extensions)多用途互联网邮件扩展类型就是设定某种扩展名的文件用一种应...
分类:
移动开发 时间:
2014-07-06 14:38:57
阅读次数:
175
dropDownList:Yii中可以采用CHtml类来实现,也可以用CActiveForm来实现。一、用CHtml来实现。VIEW中实现:'USA',7=>'France',3=>'Japan'),array('ajax' => array('type'=>'POST', //request ty...
分类:
其他好文 时间:
2014-07-06 14:36:58
阅读次数:
210
一,列表的分类1,无序列表通常使用项目符号作为列表项的前缀。符号有三种属性1,默认值为实体圆心 type="disc" 2,实体方心 type="square" 3,空心圆type="circle"语法声明这是个无序列表 并设置列表符号的样式 作为列表语句的开始2,有序列表每个列表项目前,有顺序的符...
分类:
Web程序 时间:
2014-07-06 14:31:31
阅读次数:
165
public class XMLOperation { private static readonly ILog log = LogManager.GetLogger(typeof(mainForm)); Message mesg = null; XmlDocument doc; public XM...
分类:
其他好文 时间:
2014-07-06 14:29:04
阅读次数:
167
存储过程&Function编号类别ORACLEMYSQL注释1创建存储过程语句不同create or replace procedure P_ADD_FAC(id_fac_cd IN ES_FAC_UNIT.FAC_CD%TYPE)isDROP PROCEDURE IF EXISTS `SD_USE...
分类:
其他好文 时间:
2014-07-06 14:21:16
阅读次数:
186
SQL Server Date 函数定义和用法CONVERT() 函数是把日期转换为新数据类型的通用函数。CONVERT() 函数可以用不同的格式显示日期/时间数据。语法CONVERT(data_type(length),data_to_be_converted,style)data_type(le...
分类:
数据库 时间:
2014-07-06 14:07:01
阅读次数:
227
1. [代码]方法代码 function cp(source, target) { function isBaseType(v) { var type = typeof v; var basetype = { "string": true, "number": t...
分类:
编程语言 时间:
2014-07-06 13:29:36
阅读次数:
270
the request doesn't contain a multipart/form-data or multipart/form-data stream, content type header一,HTTP上传的基本知识 在Form元素的语法中,EncType表明提交数据的格式 用 Encty...
分类:
其他好文 时间:
2014-07-06 13:16:31
阅读次数:
280
templateint binarySearch(const vector &a, const comparable &x){ int low = 0, high = a.size() - 1; while(low a[center]) low = center ...
分类:
其他好文 时间:
2014-07-06 13:10:01
阅读次数:
188