Click here to Skip to main content
12,755,827 members (39,126 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
how can i edit values in listview at runtime in vb.net
Posted 21-Jan-13 16:46pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

If you're looking for "in-place" editing of a ListView's contents (specifically the subitems of a ListView in details view mode), you'll need to implement this yourself, or use a third-party control.

By default, the best you can achieve with a "standard" ListView is to set it's LabelEdit property to true to allow the user to edit the text of the first column of the ListView (assuming you want to allow a free-format text edit).

Some examples (including full source-code) of customized ListView's that allow "in-place" editing of sub-items are:

http://www.csharphelp.com/archives2/archive341.html[^]

and refer this Code project article your problem / doubt will be solved.

In-place editing of ListView subitems[^]


Hope it Helps.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 25 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100