473,406 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to transfer of data from one form to another?

I have two forms.On form1 , there is a button UPDATE . On click event of this button another form form2 opens. Here search criteria and value can be given by the user depending upon which data grid restrict the values shown. Initially data grid shows all the values from the table.
A button APPLY is there on form2. On the click event of this button i set the property for all the columns.I want to display these values on form1 on the click event itself and then want to close the form.I am unable to set and get the property.

I am unable to set and get property. i am using autonomous set get thru a class. i am sending the code also. Please guide me in this context.

Thanks in advance
Attached Files
File Type: txt code.txt (715 Bytes, 775 views)
Jan 30 '11 #1
1 4994
GaryTexmo
1,501 Expert 1GB
If Dept is the form you're trying to interact with, what you're doing won't work since you're creating a new instance. You need to communicate with your existing Form. Curtis Rutland has a writeup on this in the insights section, maybe start there and check back if you're still having troubles.

http://bytes.com/topic/c-sharp/insig...ny-other-forms
Jan 31 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: bwalke | last post by:
Hi all, I am fairly new to using triggers and was seeking some help from those that have experience with them. I am looking to transfer data from a SQL 2000 database to a Visual FoxPro database...
4
by: Piotr Strycharz | last post by:
Hi all I do have a problem. How can I transfer user to another server using POST. The problem is that Server.Transfer (preserves form data) works just in current server. Response.Redirect -...
4
by: Andrea De Santi | last post by:
How can I redirect to another page with form data? In asp Classic I write: <form ... action="filename">...</form> and in then target page I write <%=request.form("fieldname")%> ..... but in...
4
by: Fernando Lopes | last post by:
Hi there. There's a way to transfer data between pages but: - Not using Session - Not use Querystring Tks. Fernando Lopes
6
by: shivavrata | last post by:
Hi All, I want to transfer the data form webpage to any other own application which is running in backend.How i develop this web page. which technology is good for this or any particular protocol...
1
by: solver | last post by:
Hi, I am facing 2 problems 1- Kindly do provide simple c language code to transfer data to another file 2- c language code to search text from a file Thank you
2
by: rajaaryan44 | last post by:
how can we transfer data from one access database to another databse . the table name is same for both the database . in one table some records are there (rs say e.g.) now another table has say rs+10...
9
by: sandykumar | last post by:
hiii i want to transfer data from one site to another site. there is a form in site www.abc.com and this form is similer to form of site www.xyz.com. data filled in form of site...
5
by: billa856 | last post by:
Hi I am totaly new to MS Access. I have one worksheet in excel in which I have data of company's inventory. I want to know can I transfer data from a form made in MS Access to the Excel worksheet?...
1
by: indirareddy | last post by:
Hai this is indira reddy ....... this is big proublem how to transfer Data one registration form to at time 40 other registration forms......are u not understanding.....i explain once...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.