I am using student record entry window form. I want that after submitting data, all fields of form(i.e radio button, combobox etc) and messages(warning and successful) should be reset so that new user can add data.
You must first clear the controls and then use InitializeComponent
method to work perfectly.
this.Controls.Clear();
this.InitializeComponent();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With