473,386 Members | 1,752 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,386 software developers and data experts.

how to remain original value at parent page after updated at child page

i have two text box inside parent page (one for user name, another one for department name) and one button that will open child page. i will choose department name at child page.The value will pass into the parent page,But after the child page closed, the data for user name are dissapeared since the parent page refresh all the value at that page. Can anybody give me a solution for me to remain the data after closing the child page???

TQ :)
Jul 9 '07 #1
1 1307
Killer42
8,435 Expert 8TB
i have two text box inside parent page (one for user name, another one for department name) and one button that will open child page. i will choose department name at child page.The value will pass into the parent page,But after the child page closed, the data for user name are dissapeared since the parent page refresh all the value at that page. Can anybody give me a solution for me to remain the data after closing the child page???
It would help if you can tell us what version of VB you're using.

But in general, if you want to share information between forms in VB, probably the simplest way is to create Public variables in a code module, and place the information in them. Being public, they are available everywhere in the project.
Jul 11 '07 #2

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

Similar topics

2
by: Raj | last post by:
Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence of events are 1) I click a button in the parent...
3
by: Michelle Stone | last post by:
hi al i have "variab1 = window.open ("a.aspx", "helloworld"); i do this inside a RegisterStartupScrict ("key", "<script language=javascript>******</script>"); where ***** is hte javascript...
3
by: Chris | last post by:
Before I started to create table, etc to track unique form field record number assigments I thought I'd check to see if there is now a better way to do this in .NET. I have a parent form (table)...
3
by: patrizio.trinchini | last post by:
Hi, how can remove sibling elements based on the value of an attribute ? For instance, gven the XML document: <root> <parentElment> <testElement name="A"> <removableElement/>
1
by: Andrew Hayes | last post by:
I have a parent page with a gridview, and a child page with a formview. Using the solution on velocityreviews: ...
2
by: =?Utf-8?B?c29uaWNt?= | last post by:
Can anyone tell me how an MDI parent can fire an event that the child window can pick up? We have a MDI parent window containing 2 child windows (named 1 and 2). Child window 2 updates and fires...
3
by: G .Net | last post by:
Hi Everybody I was wondering if anybody could help me with something that has been bothering me for some time. Basically, it is a problem I encountered some time ago with DataSets. I found a...
7
by: vovan | last post by:
I'm creating DataSet, then 2 DataTables, then DataRelation between those DataTables. I populate DataTables with DataAdapters. Data from each table is displayed in Grids. For display everything...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.