Hi
you can use from following code for create dynamic size of Data Table.
in this example you can get size of data table from user by console and create your DataTable and if user enter zero this while loop will be finished.
DataTable[] table;
int n;
while (true)
{
Console.Write("Please enter size of Data Table: ");
n = int.Parse(Console.ReadLine());
if (n == 0)
break;
table = new DataTable[n];
}