Click here to Skip to main content
11,704,768 members (59,130 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
how can i edit values in listview at runtime in vb.net
Posted 21-Jan-13 15: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
0 Sergey Alexandrovich Kryukov 679
1 OriginalGriff 460
2 CPallini 242
3 Andy Lanng 235
4 F-ES Sitecore 160
0 OriginalGriff 8,864
1 Sergey Alexandrovich Kryukov 8,245
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,606


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 25 Jan 2013
Copyright © CodeProject, 1999-2015
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