|
My code is as follows:
for (int i = 1; i <= 30; i ++)
{
Hashtable i.ToString (). Trim () = new Hashtable ();
}
My purpose is: I want to dynamically define multiple Hashtbale with regular names;
However, running the above code always gives an error:
I used to remember that when using vfp database, there was a macro replacement problem that could solve the above problems, but in asp.net, I don't know how to do it?
I also hope that experts advise:
How to define multiple Hashtables with a regular name through a loop. After the definition, how to find the corresponding Hashtable |
|