Wrox Programmer Forums
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 15th, 2004, 08:52 AM
Authorized User
 
Join Date: Sep 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transfer data between forms

Hi all,

I am coding in VB.NET. Now I meet a problem. I want to transfer application form data to basic application form. Does anybody give me a hint?

Thanks in advance,
Haiying

 
Old September 15th, 2004, 02:11 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Windows or web application? And what is the difference between application form data and basic application form, are you talking form-to-form transfer directly, or form to another outside app, or what?

Brian
 
Old September 16th, 2004, 02:40 AM
Authorized User
 
Join Date: Sep 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

It is windows application. I mean I just want to transfer data from form-to-form directly.

Thanks a lot.

Haiying



 
Old September 16th, 2004, 07:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Sure, just create a function in the second form, and when you go to load it, do:

Dim objForm As New Form2
objForm.LoadData() 'This is the function to load the data; do whatever in it
objForm.Show()

Brian
 
Old September 16th, 2004, 09:07 AM
Authorized User
 
Join Date: Sep 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Brian,

Thanks again. I will try it.

Haiying






Similar Threads
Thread Thread Starter Forum Replies Last Post
DATA TRANSFER vish_vj ADO.NET 1 March 7th, 2008 01:16 PM
Transfer access2003 forms to word document q2q2 BOOK: Access 2003 VBA Programmer's Reference 0 December 29th, 2006 11:21 AM
Cannot transfer data between different Forms Logically_Yours .NET Framework 1.x 2 September 15th, 2006 12:09 AM
Transfer data mepancha SQL Server 2000 4 March 24th, 2005 04:29 PM
Data Transfer psingh SQL Server 2000 8 June 9th, 2003 06:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.