大家看到现有的大多数ERP系统向用户展示的都是中文的字段名,如果维护过ERP就会发现后台的数据库里面用的都是英文字段名的,这时就需要一个字段名别名转换处理,我有想过用[字段名 AS 别名]的方法不过我觉得好麻烦 也写了好多的代码,后面我无意中看到了MSDN上的文档发现了DataTableMapping
以下代码示例创建一个 DataTableMapping(从 System.Data.Common 命名空间)并通过将其命名为“Table”来使其成为指定 DataAdapter 的默认映射。然后,该示例将查...
分类:
数据库 时间:
2014-12-02 15:15:51
阅读次数:
264
Clusterware 安装正常,但安装Oracle 软件的时候,runInstaller 看不到节点信息: [grid@rac1 bin]$ crs_stat -tName Type Target State Host --------------------------------------------------------...
分类:
数据库 时间:
2014-12-02 13:38:14
阅读次数:
300
MFC Grid control
author:songyanwu
MFC Grid control属性介绍:
The control features:
Cell selection using the mouse, with optional Control and Shift key combinations. Selection can be di...
分类:
编程语言 时间:
2014-12-02 10:38:20
阅读次数:
415
视图代码:应收情况 () .Name("grid_Charge_PayConditionsQuery_En") .Columns(columns => { ...
分类:
其他好文 时间:
2014-12-02 10:22:35
阅读次数:
1176
1.网上找到了行合并的示例,extjs写的,我把它挪过来改了下,FineUI也能用,就是只能放着看,选择和编辑行扩展列没有测试,放出来大家看着用吧。 把这个沾到grid下看看就知道了没必要发例子了。2.加了个列头上的过滤控件,当然可以加别的查询可以用到,有兴趣的可以自己写写,还是说方法,其实以...
分类:
Web程序 时间:
2014-12-01 12:37:28
阅读次数:
239
QML中的布局管理
1. 定位器
Column
Row
Grid
Flow
2. 重复器Repeater
3. 使用切换
四个定位器中都有一个add和move属性,都需要分配一个Transition对象
QML中给予锚的布局
anchor.margins来指定四个相同的边距
leftMargin、rig...
分类:
其他好文 时间:
2014-11-29 21:47:42
阅读次数:
1639
在Oracle 10g,11g的RAC中,我们常用crs_stat来监控RAC的运行状态。 但由于crs_stat 显示是不完整的,所以我们会对crs_stat 进行二次封装,让结果看起来更清爽一点。 如下图: 到了12c 的集群环境,crs_* 系列的命令还是存在的:[grid@12cAsm bin]$ pwd/u01/app/gr...
分类:
数据库 时间:
2014-11-29 16:06:12
阅读次数:
901
我们知道一个grid包含多个block,而一个block又包含多个thread,下面将是如何进行下thread中的并行。/**** Splot a block into parallel threads****/_global_ void add(int *a, int *b, int *c){ ....
分类:
其他好文 时间:
2014-11-29 13:11:58
阅读次数:
203
将数据加载到GPU后,如何在grid下的block进行并行计算(一个grid包含多个block)/****How do we run code in parallel on the device****/ /****Use block****/ _global_ void add(int...
分类:
其他好文 时间:
2014-11-29 11:44:48
阅读次数:
156
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-11-28 21:26:23
阅读次数:
222