Skip to content

Replies

0
Colm
Colm answered on Jan 13, 2009 6:26 PM

 

I am using an Infragistics.Win.UltraWinGrid.UltraGrid

To select the rows I am simply clicking on a row and then using the shift key and the direction arrows to highlight the rows below that row,

I am looking at the correct grid and using the following code

 

Dim row As Infragistics.Win.UltraWinGrid.UltraGridRow

For Each row In grdSage.Selected.Rows

sSQL =

"Delete from OverallSageLink where Bankref = '" & grdSage.ActiveRow.Cells(1).Value…………….

 

The statement grdSage.Selected.Rows is at zero no matter what I select

 

0
Colm
Colm answered on Jan 13, 2009 1:10 PM

Thanks for the help

I just implemented the suggestion for selected rows but when I select several rows the grid.Selected.Rows returns zero rows

Is there some other property that needs to be set on the grids to allow multiple row selection

 Thanks