更新时间:2022-11-28 20:34:48
声明一个局部变量并分配会话值变量并传递给你的函数。
[VB.Net]Dim str as String
str = Session [ InstituteId]
[C#]string str;
str =会话[ InstituteId];
I want to pass my session variable to load particular user data how can i do that.
my session variable is
Session["InstituteId"]=ID
I want to pass this ID ingrid view
Hi,
Declare a local variable and assign the session value to the variable and pass to your function.
[VB.Net]Dim str as String str = Session["InstituteId"]
[C#]string str; str = Session["InstituteId"];