Link to home
Start Free TrialLog in
Avatar of arcross
arcrossFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Mdi app manage data

Hello all,

Ive got a MDI application with few child forms. Ive created dataset and dataadapeters through the wizard.

My question is.. do i fill the dataset when the mdi form loads? or do i have to fill the dataset and drag the dataadapters in each child form??...
Avatar of Manish Chhetia
Manish Chhetia
Flag of India image


that depends on ur Need
If u r filling the DataSets on MDIForm load
that means u will be using the Data Throught the application from the MDI Form start

if some data must be filled when the Forms open then u must fill the DataSet on the InitialiseComponent Event of the Form
or in the Load Event of the form (choose any one of them)
and try to dispose or free these data on close of the form (if they r not required)

Do decide the need according to ur application and Fill or Free them


Avatar of arcross

ASKER

thanks manch.

But which approach is better?? if i fill it when the form loads how do i do to update the data in any of the child forms?? how do i refer to the datadapter created by the wizarD?

thanks again
ASKER CERTIFIED SOLUTION
Avatar of Manish Chhetia
Manish Chhetia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial