Solved

ListView: Remember Row and Reselect it after refresh

Posted on 2008-06-19
1
483 Views
Last Modified: 2012-05-05
I have a listview and i need to know the row currently selected, and after refresh reselect that row. I am in 1.1 of framework.
0
Comment
Question by:scorpion53061
1 Comment
 

Accepted Solution

by:
scorpion53061 earned 0 total points
ID: 21824261
Dim id As Integer
id = Me.lvwJobs.ListView.SelectedIndices.Item(0)

'do some stuff

Me.lvwJobs.ListView.Items(id).Selected = True
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now