Click here to Skip to main content
15,909,747 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi I'm devleoping a C# windows application.
I'm using a listview on my window form.
Initially the listview is empty, but when the application is run I want to edit some items in the listview.
How can i do this? Can anybody please help me out?

CAN ANYONE HELP ME OUT PLEASE !

Thanks in advance!
Posted
Updated 29-Nov-10 1:08am
v4
Comments
Manfred Rudolf Bihy 29-Nov-10 7:03am    
Edited for small typos, screaming and added niceness.
Manfred Rudolf Bihy 29-Nov-10 7:07am    
One more thing: Please don't SCREAM hrmm, of course I wanted to say "don't scream". Thank you!

Hi Jeet,

looky here:

http://www.c-sharpcorner.com/UploadFile/skulkarni/EditableListBox12022005001931AM/EditableListBox.aspx

The listbox in that article looks exactly like what I think you're looking for.

Cheers

Manfred
 
Share this answer
 
v2
Hi jeet786,
I believe you know how to add List Items to List View.
To edit an existing Item, set a text box as EditItemTemplate [EditItemTemplate ^]

Then invoke Begin Edit method for the selected List Item. once You done with the editing you can either explicitly call End Edit or change focus to any other area.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900