3
Answers

how to display label value of one page to another page in c#

narasiman rao

narasiman rao

9y
315
1
 
       In First page i have label in that label record as follows

Label1       22 may 15
Label2        4 may 15
Label3         9 may 15

In second page in accordion control run mode as follows

Discount packages.

When user click discount packages record as follows

ADVANCED FIRE FIGHTING [AFF] Dropdownlist1
MEDICAL FIRST AID [MFA] Dropdownlist2
PROFICIENCY IN SURVIVAL [PSCRB] Dropdownlist3

i want to display first page Labe11,Label2 and Label3 value in to the second page Dropdownlist1,Dropdownlist2 and Dropdownlist3.

How to do in asp.net using c#. 
 
Answers (3)
0
Upendra Pratap Shahi

Upendra Pratap Shahi

NA 13.3k 861.3k 9y
Use Cross Page posting concept or State management using session,cookie...
 
try to use session this is easier to use . 
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Hi,
 
You can implement state management concept(Session, Cookie, QueryString..) to display the content in second page.
 
There is also another way you can get value from first  page to second page - Cross Page posting.
This is applicable when you are using webforms not asp.net MVC.
 
0
Raja T

Raja T

NA 7.4k 6k 9y
Hi, you want label data first page to second page at the time use State management like Sessions, Cookies and Query String..
Please check out bellow URLs


http://www.c-sharpcorner.com/UploadFile/2072a9/state-management-in-Asp-Net/

https://msdn.microsoft.com/en-us/library/75x4ha6s(v=vs.140).aspx