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 use cookies or query strings

How can i do that query thing...Can u please tell...

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.

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.

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=""

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.