select multi rows in a datagrid

Hello, I want to select multiple rows in my datagrid, in c# I use the fonction datagrid.select(0) to select for example the first row, but I want now select rows 0,5 ans 8 for example I can I do ? Or how can I color them in order to make as if they were selected ? thanks for your responses Reta

2 Replies

RE Reta June 9, 2004 05:00 AM UTC

nobody can help me ?


MA marcel June 23, 2004 04:17 AM UTC

Try creating selections within the grid like this... this.gridAvailHoldings.Selections.Add(sGrid.GridRangeInfo.Rows(iTop, iBottom));

Loader.
Up arrow icon