Maha
Maha

Reputation: 15

How to get selected rows in vb6 TDBgrid

I'm a beginner in VB6. I am creating an application that contains a TDBGrid. My problem is how can i get the row selected in this TDBGrid.

Upvotes: 0

Views: 3546

Answers (1)

DevelopmentIsMyPassion
DevelopmentIsMyPassion

Reputation: 3591

As you said you have changed to dbgrid then you can do below

Dim row As GridViewRow = GridView1.SelectedRow 

Dim CellValue = row.Cells(1).Text

Upvotes: 1

Related Questions