DataBinding across multiple form

  • Thread starter Thread starter Goh
  • Start date Start date
G

Goh

Hi,

let said my form1 got a dataset and datasource my form1 got some textbox
is binding with the dataset currently.

If I got another form2 can I bind form2 textbox from form1?

And after I bind I evetually need to update back what ever changes in form2
textbox back to the dataset.

Any one done this kind of programming? Can share some information with me?

Thanks in advance,
With regards,
Goh
 
It depends on your final outcome. The Composite UI application block (CAB)
has facilities for communicating between forms, which might be just what you
are looking for. You can download from the MS download site.

C# version
http://www.microsoft.com/downloads/...a7-dd6d-4144-8ac6-df88223aee19&DisplayLang=en

VB.NET version
http://www.microsoft.com/downloads/...6a-2e9e-47c6-8893-f8e5f88fd8dd&DisplayLang=en

There are also hands on labs (search download for your language).

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
 
Hi Goh,

Yes, you can. You can put the DataSet in a shared object which the two
forms can both see, and bind to that DataSet from both forms.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top