0

I inserted mdiparent form in my project.It contains one child form(Customer Data Entry) with textboxes.In parent form one toolstrip button(Save Record).At the time of pressing the Save Record Button I want to Save the Customer Data Entry form Values(Child form Text Box values) in to Database.

Pradeep Kumar
  • 6,836
  • 4
  • 21
  • 47

1 Answers1

0

You can create public getter properties in you child form, accessing the respective text-box. So you can access the property values from text-boxes, when you have the form's object initialized & not disposed.

G J
  • 477
  • 9
  • 23
  • Your answer would be much more useful for the asker and future readers if you could add the code that demonstrates your claim. – kkuilla Sep 22 '14 at 08:01
  • That is absolutely true but hints should be comments, not answers. – kkuilla Sep 24 '14 at 08:12