I
INeedADip
What I am trying to do is loop through all my session variables and log them
if there is an exception.
I want to loop through and, if they're a value type, I want to add them to a
NamedValueCollection and log them.
How can I loop through and say
for(int x=0; x<Session.Keys.Count;x++)
{
if(Session.Item[Session.Keys.Item[x]] "is a value type (int, bool, or
even string)")
{ nv.add(Session.Keys.Item[x], Session.Item[Session.Keys.Item[x]]) }
}
I tried to shorten it up...but I think you'll get the jist of it.
Any suggestions?
if there is an exception.
I want to loop through and, if they're a value type, I want to add them to a
NamedValueCollection and log them.
How can I loop through and say
for(int x=0; x<Session.Keys.Count;x++)
{
if(Session.Item[Session.Keys.Item[x]] "is a value type (int, bool, or
even string)")
{ nv.add(Session.Keys.Item[x], Session.Item[Session.Keys.Item[x]]) }
}
I tried to shorten it up...but I think you'll get the jist of it.
Any suggestions?