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.
Unfortunately, activation email could not send to your email. Please try again.

select multi rows in a datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

14803 Jun 4,2004 08:29 AM Jun 23,2004 12:17 AM Windows Forms 2
loading
Tags: FAQ
Reta
Asked On June 4, 2004 08:29 AM

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

Reta
Replied On June 9, 2004 01:00 AM

nobody can help me ?

marcel
Replied On June 23, 2004 12:17 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;