Solved

Mdi app manage data

Posted on 2006-12-01
3
155 Views
Last Modified: 2013-12-03
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??...
0
Comment
Question by:arcross
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Expert Comment

by:manch
ID: 18052618

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


0
 
LVL 8

Author Comment

by:arcross
ID: 18052652
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
0
 
LVL 6

Accepted Solution

by:
manch earned 250 total points
ID: 18052671

on child forms the MDIParent adapter can be referred as follows :

U can refer as Me.MdiParent.AdapterName
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question