infragistics 循环每一个选中的行

 using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

  foreach (UltraGridRow linha in ultraGrid1.Rows)
            {
                if (linha.Selected)
                {
                    //MessageBox.Show(linha.Cells["Id"].Text.ToString());
                    strListOfID = strListOfID + linha.Cells["Id"].Text.ToString() + @",";
                }

            }

 

posted on 2014-09-05 10:49  齐文宣  阅读(166)  评论(0编辑  收藏  举报

导航