摘要: 代码 阅读全文
posted @ 2010-06-10 17:07 哈子竹 阅读(471) 评论(1) 推荐(0) 编辑
摘要: 在使用jQuery调用webservice返回datetime类型数据时,返回的时间的格式为/Date(123456264)/,需要先取出Date()中的数值,然后用JavaScript中Date类型的方法setTime()。  例如: [代码]  此时,dateTemp中的数据为时间类型常见的格式:yyyy-MM-dd 阅读全文
posted @ 2010-03-24 09:31 哈子竹 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: //开始拖动操作事件 private void TreeView_ItemDrag(object sender, ItemDragEventArgs e) { TreeNode tn = e.Item as TreeNode; if ((e.Button == MouseButtons.Left) && (tn != null) && (tn.Parent != n... 阅读全文
posted @ 2009-12-17 17:36 哈子竹 阅读(5636) 评论(0) 推荐(0) 编辑
摘要: 通过SQLServer 2005之后新加入的ROW_NUMBER()函数进行分页:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgo-- =============... 阅读全文
posted @ 2009-12-04 11:09 哈子竹 阅读(357) 评论(2) 推荐(0) 编辑