Nexacro-Function/Dataset

Nexacro.Dataset - 복사(copy)

농부지기 2017. 1. 28. 00:21

[ Nexacro.Dataset -  복사(copy) ]

 

 

 

/******************************************************************************************
 * 기      능 : Dataset 복사
 * 인      자 : tarDs - 추가될 dataset
 *              srcDs - 자료를 가지고 있는 daaset
 *****************************************************************************************/

function gfn_AddCopyRow(tarDs, srcDs){

    var nAddRow;

    for(var nRow=0; nRow<srcDs.rowcount; nRow++){

        nAddRow = tarDs.addRow();

        tarDs.copyRow(nAddRow, srcDs, nRow);

    }   

}