Click here to Skip to main content
14,876,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I'm trying to pass an entire row from a listview to another form textboxes to edit that row. Like I'm in the main form and have a edit button, when I press the button it should grab the entire row from the listview and populate the textbox in another form to edit it.. please help!
Posted

See Passing Data Between Forms[^] for some ideas on how to do this.

Also see this related thread and the discussion there: How to copy all the items between listboxes in two forms[^]
   
v2
If you are up for it. Then take a look at this CP article A Much Easier to Use ListView[^]. I use this control with with great pleasure. It has in-line edit function and much more.
   

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