We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 01:00 AM

nobody can help me ?


MA marcel June 23, 2004 12:17 AM

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

Loader.
Live Chat Icon For mobile
Up arrow icon