C # .NET judges whether a session exists or not
For (int I = 0; i
{
IF (session.keys.get (i) .Compareto ("no") == 0)
Strno = session ["no"]. TOSTRING ();
}
I don't know if there is any other method.
It is used to use
Session ["NO"] == NULL to judge. Thank you
~~~~ reminder.