摘要: 需求是要修改Oracle某列表中把这一列中全部的100换成200;update b_nodes a set a.childs=replace((select childs from b_nodes b where b.nodeid=a.nodeid),'100','200') where a.chi... 阅读全文
posted @ 2014-10-10 10:25 小小夜 阅读(3862) 评论(0) 推荐(0) 编辑
摘要: 获取数据后导出Excel 阅读全文
posted @ 2014-09-25 16:50 小小夜 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Oracel用rownum实现真分页 阅读全文
posted @ 2014-09-25 16:47 小小夜 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 1、要使用Dictionary集合,需要导入C#泛型命名空间 System.Collections.Generic(程序集:mscorlib) 2、描述 1)、从一组键(Key)到一组值(Value)的映射,每一个添加项都是由一个值及其相关连的键组成 2)、任何键都必须是唯一的 3)、键不能为空引用null(VB中的Nothing),若值为引用类型,则可以为空值 4)、Key和Value可以是任何类型(string,int,custom class 等) 3、创建及初始化 Dictionary myDictionary = new Dictionary();4、... 阅读全文
posted @ 2013-08-30 11:00 小小夜 阅读(193) 评论(0) 推荐(0) 编辑
摘要: sql 阅读全文
posted @ 2013-08-01 08:53 小小夜 阅读(121) 评论(0) 推荐(0) 编辑
摘要: treeview控件 阅读全文
posted @ 2013-07-30 11:13 小小夜 阅读(184) 评论(0) 推荐(0) 编辑
摘要: ">--%> +","+ ((GridViewRow) Container).RowIndex' OnCommand="OutFile" OnClientClick="return true;"/> );' /> );' /> 阅读全文
posted @ 2013-07-18 15:12 小小夜 阅读(284) 评论(0) 推荐(0) 编辑
摘要: VS2008,vs2010 快捷键大全Ctrl+m+Crtr+o折叠所有大纲 Ctrl+M+Crtr+P: 展开所有大纲Ctrl+K+Crtr+C: 注释选定内容 Ctrl+K+Crtr+U: 取消选定注释内容Ctrl+J : 列出成员 智能感知Shift+Alt+Enter: 切换全屏编辑Ctrl+B,T / Ctrl+K,K: 切换书签开关Ctrl+B,N / Ctrl+K,N: 移动到下一书签 Ctrl+B,P: 移动到上一书签 Ctrl+B,C: 清除全部标签Ctrl+I: 渐进式搜索 Ctrl+Shift+I: 反向渐进式搜索 Ctrl+F: 查找 Ctrl+Shift+F: 在文. 阅读全文
posted @ 2013-07-08 13:35 小小夜 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 加入收藏 设为主页 阅读全文
posted @ 2013-07-05 14:15 小小夜 阅读(359) 评论(0) 推荐(0) 编辑
摘要: MeshGeometry3D的Normals属性和TextureCoordinates属性用于指定纹理如何贴到3D模型的表面去。<MeshGeometry3D Positions="1,1,0 -1,1,0 -1,-1,0 1,-1,0" Normals="0 0 1, 0 0 1, 0 0 1, 0 0 1" TextureCoordinates="1 0, 0 0, 0 1, 1 1" TriangleIndices="0,1,3 3,1,2"/>上面的代码建立了一个简单的平面模型。MSDN:Nor 阅读全文
posted @ 2013-06-05 10:23 小小夜 阅读(844) 评论(0) 推荐(0) 编辑