IList _list = new List();
try {
int[] _arrHandles = gridView2.GetSelectedRows();
foreach(int _handle in _arrHandles) {
if(!gridView2.IsGroupRow(_handle)) {
_list.Add(gridView2.GetDataSourceRowIndex(_handle));
}
}
} catch(Exception ex) {
MyLogger.SendLog(EnNlogLevel.ERROR, ex.ToString(), “GetSelectRowhandleCountWithoutGroup”);
return new List();
}
return _list;
}
GridView 의 isGroupRow 함수 사용이 관건
0 Comments