| |

VerySource

 Forgot password?
 Register
Search
View: 691|Reply: 4

How to get the value in SESSION?

[Copy link]

3

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-2-12 00:30:01
| Show all posts |Read mode
I pop up a child interface on a parent interface, and then click the child interface's LISRBOX to store the value in SESSION
Then back to the parent interface, how to get the value? Without doing anything
Reply

Use magic Report

1

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-4-8 09:30:02
| Show all posts
Session ("...")
Reply

Use magic Report

0

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-4-8 10:30:01
| Show all posts
string str = session ["Name you define"]. tosntring ();
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-8 11:45:01
| Show all posts
int id = (int) session ["id"];
Reply

Use magic Report

0

Threads

24

Posts

20.00

Credits

Newbie

Rank: 1

Credits
20.00

 China

Post time: 2020-4-8 16:00:01
| Show all posts
string str = Session ["The name you define"]. ToString ();
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list