954,148 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Session variable




 

Name:



UserGroup: Title KeywordsAuthor Last Name or FIrst NameSubject Keywords Kids' Reading TitleKids' reading SubjectPeriodical titleAll Keywords





EddyJiang
Newbie Poster
2 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

The problem is this line of code

dTable= session("myCat")

you are trying to put a session varible datatype to a Datatable datatype (make sense?) but you can't do this implicitly, you must cast it to the datatype you want.

so it should be something like this

dTable = CType(Session("myCat"), DataTable)

Hope this helps

Happy coding :cool:

Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You