Solved

Mdi app manage data

Posted on 2006-12-01
3
148 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
  • 2
3 Comments
 
LVL 6

Expert Comment

by:manch
Comment Utility

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
Comment Utility
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
Comment Utility

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

U can refer as Me.MdiParent.AdapterName
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now