示例#1
0
 // �ϲ���ͬ�ĵ�Ԫ��
 public bool ShouldCellsBeMerged(Infragistics.Win.UltraWinGrid.UltraGridRow row1, Infragistics.Win.UltraWinGrid.UltraGridRow row2, Infragistics.Win.UltraWinGrid.UltraGridColumn column)
 {
     string process1 = row1.GetCellValue("FS_ZC_BATCHNO") != null ? row1.GetCellValue("FS_ZC_BATCHNO").ToString() : "";
     string process2 = row2.GetCellValue("FS_ZC_BATCHNO") != null ? row2.GetCellValue("FS_ZC_BATCHNO").ToString() : "";
     return process1 == process2 && !process1.Equals("���Ʊ��");
 }
 private void setPossesso(Infragistics.Win.UltraWinGrid.UltraGridRow row)
 {
     if (row.GetCellValue("PossessoFormattato") != null)
     {
         var soggettoCondominioDTO = row.ListObject as SoggettoCondominioDTO;
         if (soggettoCondominioDTO != null)
         {
             var possessoFormattato = row.GetCellValue("PossessoFormattato").ToString().PadLeft(4, '0');
             soggettoCondominioDTO.NumeratorePossesso = int.Parse(possessoFormattato.Substring(0, 2));
             soggettoCondominioDTO.DenominatorePossesso = int.Parse(possessoFormattato.Substring(2, 2));
         }
     }
 }