G
Guest
hey all,
Dim _dt As New DataTable("Controls")
_dt.Columns.AddRange(New DataColumn() _
{New DataColumn("Name"), New DataColumn("Type")})
I saw this excerpt in an article on creating a stand alone data table. And I
was wondering if you don't specify the column type what would be the default.
I tested this and it let me add rows but doesn't it have to know the data
type of the column?
thanks,
rodchar
Dim _dt As New DataTable("Controls")
_dt.Columns.AddRange(New DataColumn() _
{New DataColumn("Name"), New DataColumn("Type")})
I saw this excerpt in an article on creating a stand alone data table. And I
was wondering if you don't specify the column type what would be the default.
I tested this and it let me add rows but doesn't it have to know the data
type of the column?
thanks,
rodchar