VS 2010 Add colums to a table at runtime

Forums: 

Here is an example for adding colums to a table at runtime

 

ColCount = columns on you table
            Dim i
            For i = 0 To ColCount
                mytable.Columns.Add(new TableColumn())
                .... make binding for each column code here ....
            Next x