Click here to Skip to main content
15,888,270 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm want to do the follwing work:

Form Design

Name --------(textbox)

ADD (button)


List view with one field "Name "

When i click ENTER key after enter the text in the textbox, the text want to add in the list view.

Lists are Below:


Name

puni
Punitha
Sabari


When i choose the name from the list view, the item want to displayed in the textbox and make edit and replace the list view...

Can u help........
Posted
Updated 1-Jun-12 1:18am
v2
Comments
Maciej Los 1-Jun-12 10:57am    
The homework do yourself! What have you done till now? Where do you stuck?
Use "Improve question" button to upgrade the content of question.
PunithaSabareeswari 2-Jun-12 2:26am    
I could add the the items in list view... i can place the list view item in text box when i click on item in list view... but i won't delete in the list view...
Older record And Edited record both are displayed in the list view...

Hi,
try this...

ListView1.Items.Remove(ListView1.SelectedItems(0))

Hope this helps!
 
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