I want to be able to use a function to create a dataset under different names and then store that dataset into Session. I will pass in a name as a variable to save that dataset into Session as. I havent found the right way to dynamically create that Session variable name. Something like this below doesn't seem to work.
Dim ds AS Dataset (will be a populated dataset)
Dim SessionName As String
SessionName = "dataset1"
Session.Item(SessionName) = ds
Dim ds AS Dataset (will be a populated dataset)
Dim SessionName As String
SessionName = "dataset1"
Session.Item(SessionName) = ds