Hi,
Actually u didn't mention what u mean by Selected Rows.........is there is any check box column in Grid to select COlunms or u wan a all the records that are selected through COntrol Key...........
Here i have code through which u can access multiple selected Rows of Grid.......
Dim int As Integer
For int = 0 To BindingContext(dgData.DataSource).Count - 1
If (dgData.IsSelected(int)) Then
MessageBox.Show(dgData.Item(int, 1))
End If
Next
I hope this will help u.............
Reagrds,
Ritesh
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.