Transfer Info To Next Form C#

Reply

Join Date: Mar 2009
Posts: 4
Reputation: niketh90 is an unknown quantity at this point 
Solved Threads: 0
niketh90 niketh90 is offline Offline
Newbie Poster

Transfer Info To Next Form C#

 
0
  #1
Apr 1st, 2009
I have been give the salary and hra of manager,supervisors and workers.

Now i want to take the name,address,ph no ,designation from user .
then take that name address and ph no along with the default calculated salry,hra from first form to be displayed on second form.

So that a customer can print his salary receipt.

Eg:
Name:

Address:

Ph No:

Salary:

HRA:


without loadind name, address etc into database ,how can i transfer those info into next webform of the same website in asp.net and using c#.

thanx in advance.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 205
Reputation: carobee is an unknown quantity at this point 
Solved Threads: 11
carobee carobee is offline Offline
Posting Whiz in Training

Re: Transfer Info To Next Form C#

 
0
  #2
Apr 2nd, 2009
you can use cookies or query strings
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 4
Reputation: niketh90 is an unknown quantity at this point 
Solved Threads: 0
niketh90 niketh90 is offline Offline
Newbie Poster

Re: Transfer Info To Next Form C#

 
0
  #3
Apr 2nd, 2009
How can i do that query thing...Can u please tell...
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 370
Reputation: greeny_1984 is an unknown quantity at this point 
Solved Threads: 29
greeny_1984's Avatar
greeny_1984 greeny_1984 is offline Offline
Posting Whiz

Re: Transfer Info To Next Form C#

 
0
  #4
Apr 3rd, 2009
hi,

you can achieve that functionality using

cross post back feature in asp.net 2.0.

you can search google for info on cross post back.
If u r query is achieved,mark the thread as solved

Live and Let Live
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 205
Reputation: carobee is an unknown quantity at this point 
Solved Threads: 11
carobee carobee is offline Offline
Posting Whiz in Training

Re: Transfer Info To Next Form C#

 
0
  #5
Apr 8th, 2009
Originally Posted by niketh90 View Post
How can i do that query thing...Can u please tell...
with query strings the data gets appended in the url.it will be visible to the user.
Last edited by carobee; Apr 8th, 2009 at 5:28 am.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4
Reputation: mathuniga is an unknown quantity at this point 
Solved Threads: 0
mathuniga mathuniga is offline Offline
Newbie Poster

Re: Transfer Info To Next Form C#

 
0
  #6
Apr 8th, 2009
Originally Posted by niketh90 View Post
I have been give the salary and hra of manager,supervisors and workers.

Now i want to take the name,address,ph no ,designation from user .
then take that name address and ph no along with the default calculated salry,hra from first form to be displayed on second form.

So that a customer can print his salary receipt.

Eg:
Name:

Address:

Ph No:

Salary:

HRA:


without loadind name, address etc into database ,how can i transfer those info into next webform of the same website in asp.net and using c#.

thanx in advance.


you can do the same using
response.redirect(urlname?querystring)
after ? you can pass the query string like address="" & phno=""
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 229
Reputation: mail2saion is an unknown quantity at this point 
Solved Threads: 36
mail2saion's Avatar
mail2saion mail2saion is offline Offline
Posting Whiz in Training

Re: Transfer Info To Next Form C#

 
0
  #7
Apr 10th, 2009
HOPE THE BELOW LINK WILL HELP YOU A LOT>
http://www.codeproject.com/KB/aspnet...ingValues.aspx
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 926 | Replies: 6
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC