Is it possible to declare a variable by referencing
another variable as the type?
Something like this:
'Declare variable to hold variable type
Dim strVariableType as String
'Set variable = to the value in a field from a datatable
strVariableType = dt("VarType")
'Declare new variable using a variable as the data type
Dim obj as strVariableType
I've been able to use the FindControl() function to
reference controls dynamically, but I haven't seen a
function to do this.