pass values from ListView to another Form

Posted by hareeshkumarkr-16190 under VB.NET on 8/6/2013 | Points: 10 | Views : 2541 | Status : [Member] | Replies : 2
hi ,


i have 2 forms, form1 and form2
form1 which display the data in listview
form2 whic containe 3 textbox for update/add data

my question is : i want to load the data to form2 textbox from form1, when i select the listview row ?


Regards
harish




Responses

Posted by: Allemahesh on: 8/6/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down

1. You need to get the selected values form listview using code behind.
2. After that you need to pass these values to form2 using query string.
3. Get these values on form2 using query string and display to textbox.

Hope this will help you.

hareeshkumarkr-16190, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: hareeshkumarkr-16190 on: 8/6/2013 [Member] Starter | Points: 25

Up
0
Down
Hi ,

Thank you for your replay But i am using windows application !


hareeshkumarkr-16190, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response