Author: InterOrion | Posted on: 1/27/2010 6:49:02 PM | Views : 352

Hey guys,
I've got a DataTable that I'm appling to a session variable on inital page_load.
I need to check whether that Session Variable when the page is returned to - ie Not isPostback.
I can do If Session("var") = Nothing Then, but the problem with that is, if the Session variable already has the DataTable applied to it, it will throw back an error stating that Operator '=' is not defined for type 'DataTable' and 'Nothing'.
How can I get around this?
Thanks!
...

Go to the complete details ...