| | |
| | | public bool Refresh(string sWhere) |
| | | { |
| | | string sErr = ""; |
| | | int MainIDCol, SubIDCol, SPIDCol, BatchNoCol, MTONoCol; |
| | | int MainIDCol, SubIDCol, SPIDCol, BatchNoCol, AuxPropIDCol, MTONoCol; |
| | | string stmp; |
| | | string tSQL; |
| | | try |
| | |
| | | SubIDCol = oFrm.Fun_GetCol("hwhid"); |
| | | SPIDCol = oFrm.Fun_GetCol("hspid"); |
| | | BatchNoCol = oFrm.Fun_GetCol("æ¹æ¬¡"); |
| | | AuxPropIDCol = oFrm.Fun_GetCol("HAuxPropID"); |
| | | MTONoCol = oFrm.Fun_GetCol("计åè·è¸ªå·"); |
| | | // |
| | | //å¾ªç¯ éä¸è¡ |
| | |
| | | oSelect.BillSubID = DBUtility.ClsPub.isLong(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[SubIDCol].Value); |
| | | oSelect.SPID = DBUtility.ClsPub.isLong(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[SPIDCol].Value); |
| | | oSelect.BatchNo = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[BatchNoCol].Value); |
| | | oSelect.HAuxPropID = DBUtility.ClsPub.isLong(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[AuxPropIDCol].Value); |
| | | oSelect.BillNo = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[MTONoCol].Value); |
| | | oSelect.BillTitle = mvarReportTitle; |
| | | oSelect.BillType = mvarItemKey; |