I want your help in the followings.
I want to open a form using menuStrip with full data I saved in the form.
lets see the MDI Parent Form:-
See in the Menu School. there is four items; one to create school and the edit(Update) and delete.
I did the Create school function.
I want your help in the Edit School Item
when I click in the edit school , I want to open the form frmSchool with data in it
lets see the frmSchool
see when click in the edit school , I want full data in the each control of this form.
My task is update function on this form.
please give me a solution.


Naveed ZamanRank #565 · 4.3K reputationPosted Jul 15, 2013, 11:50 AM EDT
Bineesh ViswanathRank #1,681 · 907 reputationPosted Jul 17, 2013, 1:00 AM EDT
I want to do is the updation.
So when I click on the edit school in menustrip, I want to load full data to corresponding fields
of the form.
Kunal VaishyaRank #990 · 2K reputationPosted Jul 17, 2013, 1:51 AM EDT
Ravi ShekharRank #673 · 3.6K reputationPosted Jul 17, 2013, 1:51 AM EDT
and on the page load get all the data of this schhol and bind every textbox one by one Now on the click of update run a update query with atleast single where clause .
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 17, 2013, 1:56 AM EDT
On loading edit school form,retrieve the saved data from your database and bind it to all controls.
Regards,
Iftikar
Bineesh ViswanathRank #1,681 · 907 reputationPosted Jul 17, 2013, 2:21 AM EDT
take look at the form from where we do this operation.
This is the form. My tasks are;-
1) A new school to be created when i click menu item Create School.
2)The school saved to be retrieved and bind with the concerned controls when i click in the menu item Edit School.
Let me know how this possible?