select entire row in datagrid?

P

Patrick Sullivan

I have the following snippets, the 1st displays the count of records, the
second uses the count to go to the newest record. But it only selects the
first column, I want the entire row to be selected. Anyone know how to do
that? TIA

'display number of records
count = appsCMDda.Fill(appsViewData, "appsvw")
Labelcount.Text = CType(count, String) + " records"

'after loading table into datagrid dgappsview, go to the newest record

Dim s As String
Dim x As Int32
s = Labelcount.Text.Replace("records", " ")
x = CType(s, Integer)
dgAppsView.CurrentCell = New DataGridCell(x - 1, 0)
dgappsview.select()
 
P

Patrick Sullivan

And William ([Ryan] - sorry about using that before), thanks for the
rightclick article.
 

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.

Ask a Question

Similar Threads


Top