Good Day!.
I have a big problem. I have here a combobox1 in form1, combobox1 has a value of Mr.A and Mr.B. and the form2 has a evaluation question with 5 radiobuttons. I want that if i choose from that combobox1. The form2 will know who i choose, and when i answer the question in form2. The Data will insert into my sql database.
Please Help Me!. :(
bernardz26
0
Newbie Poster
Recommended Answers
Jump to Postfor this declare a public variable , like this
public Name as string 'now place this code at the selected index change event name = combo.text
now you can get name variable value at any place in your form,
Regards
All 2 Replies
Reply to this topic
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.