hi, Can anyone tell me how to retrieve data from one form to another in VB.net,,,????
Actually I have a form in which i have 5 values with labels and text boxes,I know I can edit n save them,, i have linked this through Data base but i want that if i have one other form on which i need all these values as these were on the 1st form,,, is it possible??? if i edit all on 1st form, it will automatically change in the next one?????
farifari
0
Newbie Poster
Recommended Answers
Jump to Postevery things is possible.
you means when you change value in 1st form it will change value in 2nd form?
Jump to Postmake shared variable to able you connected with controls.
in first form :
declare this code on top of all event.public shared temp as string
in any event in form 1 :
temp = textbox1.textIn other Form :
in any event on other form …
Jump to PostIf I have a formula e.g. Stress=Force/Area,,, I want to use the value of Force and Area from the first form,,, like I have Force=10N and Area=10cm., I want to calculate the value of stress in the other form ,,, how can I use this formula by automatically taking the …
Jump to Posti know when force and formula changing the result will changing.
see this :
On first form :
- input force n area
- calculated formula when button stress clicking
- Display Result???On Second or Other form :
- Display Result???where the value will display? on …
All 14 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
farifari
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
farifari
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
farifari
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
farifari
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
farifari
0
Newbie Poster
farifari
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
farifari
0
Newbie Poster
charitha_sharma
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.